Class BitchuteService
- java.lang.Object
-
- com.karafra.bitchutedl.platforms.bitchute.BitchuteService
-
- All Implemented Interfaces:
IProcessingService
@Service public class BitchuteService extends Object implements IProcessingService
Class handling parsing videos from Bitchute.- Author:
- Karafra
-
-
Constructor Summary
Constructors Constructor Description BitchuteService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<org.springframework.core.io.Resource>downloadVideo(String urlString)Downloads video from bitchute.DownloadPagePropsprocessVideo(String url)Parses video link from bitchute to return raw url to video stream.
-
-
-
Method Detail
-
processVideo
public DownloadPageProps processVideo(String url)
Parses video link from bitchute to return raw url to video stream.- Specified by:
processVideoin interfaceIProcessingService- Parameters:
url- link to bitchute video.- Returns:
- link to raw stream.
-
downloadVideo
public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> downloadVideo(String urlString)
Downloads video from bitchute.- Specified by:
downloadVideoin interfaceIProcessingService- Parameters:
urlString- urllike string.- Returns:
- downloadable resource.
-
-