Skip to content

Commit

Permalink
Remove search from Hypnotube
Browse files Browse the repository at this point in the history
Search now requires a valid PHPSESSID cookie which a normal Stash scraper
has no way to generate or acquire:
rewriting to a script scraper will work but is left as an exercise for the reader
  • Loading branch information
Maista6969 committed Jan 14, 2025
1 parent b4ed84d commit bc1c45e
Showing 1 changed file with 2 additions and 23 deletions.
25 changes: 2 additions & 23 deletions scrapers/Hypnotube.yml
Original file line number Diff line number Diff line change
@@ -1,32 +1,11 @@
name: "Hypnotube"
name: Hypnotube
sceneByURL:
- action: scrapeXPath
url:
- hypnotube.com
- hypnotube.com/video/
scraper: sceneScraper

sceneByName:
action: scrapeXPath
queryURL: https://hypnotube.com/search/{}/
scraper: hypnotubeSearch

sceneByQueryFragment:
action: scrapeXPath
queryURL: "{url}"
scraper: sceneScraper

xPathScrapers:
hypnotubeSearch:
common:
$card: //div[@class='item-inner-col inner-col']
scene:
Title:
selector: $card//a[contains(@href, '/video')]/@title
URL:
selector: $card//a[contains(@href, '/video')]/@href
Image:
selector: $card//img[contains(@data-mb, "shuffle-thumbs")]/@src

sceneScraper:
common:
$studio: //a[starts-with(@href,'https://hypnotube.com/user/')]
Expand Down

0 comments on commit bc1c45e

Please sign in to comment.