Skip to content

Commit 4b4a001

Browse files
committed
Omits the period separator in the scraper url for old style urls with numeric ids.
1 parent e8bcc72 commit 4b4a001

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

scrapers/Xvideos.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ sceneByURL:
1111
sceneByFragment:
1212
action: scrapeXPath
1313
scraper: sceneScraper
14-
queryURL: https://www.xvideos.com/video.{filename}/x
14+
queryURL: https://www.xvideos.com/video{filename}/x
1515
queryURLReplace:
1616
filename:
1717
# xvideos id is of format [a-z0-9]{6,11} (6ch from 2007, 11ch from 2026)
@@ -20,7 +20,7 @@ sceneByFragment:
2020
# expects an id in square brackets before extension, as saved by yt-dlp by default
2121
# title_of_scene [id-here].mp4
2222
- regex: '.*\[([a-z0-9]{6,11})\]\..+'
23-
with: $1
23+
with: ".$1"
2424
# expect an ID at the beginning followed by an underscore, as saved by
2525
# JDownloader by default
2626
- regex: '^([a-z0-9]{6,11})_.+'
@@ -29,11 +29,11 @@ sceneByFragment:
2929
# or expects a numeric id at the end of the filename
3030
# title_of_scene42069.mp4
3131
# - regex: '^.*?(\d{7})\..+$'
32-
# with: $1
32+
# with: ".$1"
3333
# if no id is found in the filename (there is still a file extension)
3434
# clear the filename so that it doesn't leak
3535
- regex: .*\.[^\.]+$
36-
with:
36+
with: "."
3737

3838
xPathScrapers:
3939
sceneScraper:
@@ -64,4 +64,4 @@ xPathScrapers:
6464
- regex: '[\S\s]+"uploadDate"\s*:\s*"(\d+-\d{2}-\d{2})[^"]+"[\S\s]+'
6565
with: $1
6666
- parseDate: 2006-01-02
67-
# Last Updated August 15, 2024
67+
# Last Updated April 24, 2026

0 commit comments

Comments
 (0)