Class BitchuteParser


  • @Service
    public class BitchuteParser
    extends AbstractSimpleParser
    Extractor for Bitchute.
    Since:
    1.0
    Version:
    1.0
    Author:
    Karafra
    See Also:
    Bitchute
    • Constructor Detail

      • BitchuteParser

        public BitchuteParser()
    • Method Detail

      • extract

        public DownloadPageProps extract​(String linkToVideo)
        Extracts raw to video from bitchute link. Extracts raw link from given link
        Specified by:
        extract in class AbstractSimpleParser
        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
      • getThumbnailLink

        public String getThumbnailLink​(String link)
        Get thumbnail of video.
        Parameters:
        link - to process.
        Returns:
        gets thumbnail of video.
        Since:
        1.0