Class BitchuteParser
- java.lang.Object
-
- com.karafra.bitchutedl.parser.AbstractSimpleParser
-
- com.karafra.bitchutedl.platforms.bitchute.parser.BitchuteParser
-
@Service public class BitchuteParser extends AbstractSimpleParser
Extractor for Bitchute.- Since:
- 1.0
- Version:
- 1.0
- Author:
- Karafra
- See Also:
- Bitchute
-
-
Constructor Summary
Constructors Constructor Description BitchuteParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DownloadPagePropsextract(String linkToVideo)Extracts raw to video from bitchute link.protected StringgetDate()Gets date video was published.StringgetDate(String link)Gets date video was published.protected StringgetFormat(String rawLink)Gets format of video from raw url.protected StringgetPublisher()Gets publisher of video.StringgetPublisher(String link)Gets publisher of video.protected StringgetTarget()Gets target of video player.StringgetTarget(String link)Gets target of video player.protected StringgetThumbnailLink()Get thumbnail of video.StringgetThumbnailLink(String link)Get thumbnail of video.protected StringgetTitle()Gets title of videoStringgetTitle(String link)Gets title of video-
Methods inherited from class com.karafra.bitchutedl.parser.AbstractSimpleParser
get, getElementByXpath
-
-
-
-
Method Detail
-
extract
public DownloadPageProps extract(String linkToVideo)
Extracts raw to video from bitchute link. Extracts raw link from given link- Specified by:
extractin classAbstractSimpleParser- Parameters:
linkToVideo- link from which raw is to be extracted- Returns:
- raw link.
- Since:
- 1.0
-
getTarget
protected String getTarget()
Gets target of video player.- Returns:
- target of video player.
- Since:
- 1.0
-
getTarget
public String getTarget(String link)
Gets target of video player.- Parameters:
link- to process- Returns:
- target of video player.
- Since:
- 1.0
-
getTitle
public String getTitle(String link)
Gets title of video- Parameters:
link- to process- Returns:
- title of video.
- Since:
- 1.0
-
getTitle
protected String getTitle()
Gets title of video- Returns:
- title of video.
- Since:
- 1.0
-
getDate
public String getDate(String link)
Gets date video was published.- Parameters:
link- to process.- Returns:
- date the video was published.
- Since:
- 1.0
-
getDate
protected String getDate()
Gets date video was published.- Returns:
- date the video was published.
- Since:
- 1.0
-
getPublisher
public String getPublisher(String link)
Gets publisher of video.- Parameters:
link- link to process- Returns:
- publisher of video.
- Since:
- 1.0
-
getPublisher
protected String getPublisher()
Gets publisher of video.- Returns:
- publisher of video.
- Since:
- 1.0
-
getFormat
protected String getFormat(String rawLink)
Gets format of video from raw url.- Parameters:
rawLink- raw link CDN.- Returns:
- format of video.
- Since:
- 1.0
-
getThumbnailLink
protected String getThumbnailLink()
Get thumbnail of video.- Returns:
- gets thumbnail of video.
- Since:
- 1.0
-
-