Closed as not planned
Description
Error 403: Forbidden
At some point SpankBang updated their bot detection measures to be stricter. I initially noticed this when downloading from the site with yt-dlp.
Instead of downloading like this;
yt-dlp https://spankbang.com/8hxfn/video/example+title+of+video
(which now fails).
I now am able to successfully download videos like this;
yt-dlp --impersonate edge https://spankbang.com/8hxfn/video/example+title+of+video --legacy-server-connect --no-check-certificates -S "res:1080" --add-metadata -N 4
I assume similar measures would need to be taken to revive this scraper.
Are you scraping a scene, gallery, movie, or performer?
Scene
Scrape with URL? If so, what URLs have you tried?
I have tried scraping via [https://spankbang.com/9cfj0/video/]
Scrape with fragment? If so, what is the filename / title / studio code?
Yes, "Video Title [9cfj0].mp4"
Scrape with name? Give an example you searched for that caused the scraper to fail
N/A
Please check the logs to see if there are any relevant error messages you can include
2024-11-07 12:19:17
Error
scrapeSingleScene: input: scrapeSingleScene scraper SpankBang: http error 403:Forbidden
2024-11-07 12:19:17
Debug
[scraper] adding header <User-Agent:Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:79.0) Gecko/20100101 Firefox/79.0)>
2024-11-07 12:19:17
Debug
After: 9cfj0
2024-11-07 12:19:17
Debug
Before: 9cfj0
2024-11-07 12:19:17
Debug
Replace: '.*\.[^\.]+$' with ''
2024-11-07 12:19:17
Debug
After: 9cfj0
2024-11-07 12:19:17
Debug
Before: Video Title [9cfj0].mp4
2024-11-07 12:19:17
Debug
Replace: '.*\[([0-9a-z]{4,})\]\.[^\.]+$' with '$1'