Video playlist scraping

sgvideo

Junior Member
Joined
Jan 9, 2023
Messages
109
Reaction score
71
I am trying to create a bot for downloading video files from playlists, in particular from SpankBang. There seems to be a protection system because using yt-dlp after a few videos downloaded, the download stops. Could someone give me some hints to solve this problem? Would changing ip between requests work?
 
Never used yt-dlp myself but my guess is that the API key being used to download videos using the target service API is being rate limited after X videos downloaded. Or maybe it is just an IP block like you mentioned.. in that case, you need to rotate proxies. So, my suggestion is to try to add a proxy rotation system to your code and try it out!

P.S: i absolutely love your avatar. best tv show ever
 
which is recommended you need to rotate proxies. So, my suggestion is to try to a popular and good one
 
Back
Top