xbapps / xbvr

Tool to organize and stream your VR porn library
343 stars 129 forks source link

Add BrazzersVR Scraper Fixes #1860 #1852

Closed pops64 closed 1 month ago

pops64 commented 1 month ago

Appears to currently work. More wide spread testing needed. Had some randomness if valid scene were shown on the index page. The current set of URLs appears to return the correct scenes.

The next index page does not appear to show up in the colly request only on a working browser. Had to resort to checking if any scene links where available and advancing if true.

crwxaj commented 1 month ago

The scraper works fine for me. However I think the numerical ID from the scene URL would be a better fit for the scene ID than the title slug, since it is less likely to change. The release date is the same for all scenes, but when I check their date range filter this seems to be the actual case.

pops64 commented 1 month ago

Yeah. I put in a comment in to code for the date to be watched. As bazzers redid their website so who knows if the new scenes will be posted and if date is correct as the variable name I pull from is upload date. But it was the only date available on the site.

It does grab the scene ID from the home page url. I tried grabbing everything I could from the json script block as I am indeed worried the class ids will change cause it looks randomized/minifed

pops64 commented 1 month ago

Update: Moved the bazzers scraper into virtualporn. It shares the same backend API and JSON structure. Everything seems to return correctly. Made adjustments or passed through strings where needed for the differences between sites. Things below are behind the paywall that should be checked