Skip to content

Commit c9420c6

Browse files
authored
Fix xPathScrapers sceneSearch selectors for Pornhub (#2234)
1 parent 0420216 commit c9420c6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

scrapers/Pornhub.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,9 @@ xPathScrapers:
4242
$searchThumb: //ul[contains(@class, "search-video-thumbs") and not(@id="bottomVideos")]//div[contains(@class, "thumbnail-info-wrapper")]
4343

4444
scene:
45-
Title: $searchThumb/span[@class="title"]/a/text()
45+
Title: $searchThumb//span[@class="title"]/a/text()
4646
URL:
47-
selector: $searchThumb/span[@class="title"]/a/@href
47+
selector: $searchThumb//span[@class="title"]/a/@href
4848
postProcess:
4949
- replace:
5050
- regex: ^
@@ -152,4 +152,4 @@ driver:
152152
Domain: ".pornhub.com"
153153
Value: "1"
154154
Path: "/"
155-
# Last Updated August 19, 2024
155+
# Last Updated March 24, 2025

0 commit comments

Comments
 (0)