Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Backups
youtube-dl
Commits
10709fc7
Unverified
Commit
10709fc7
authored
Aug 12, 2020
by
Sergey M․
Browse files
[xhamster] Extend _VALID_URL (closes #25927)
parent
a7e34855
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
youtube_dl/extractor/xhamster.py
youtube_dl/extractor/xhamster.py
+7
-1
No files found.
youtube_dl/extractor/xhamster.py
View file @
10709fc7
...
...
@@ -20,7 +20,7 @@ from ..utils import (
class
XHamsterIE
(
InfoExtractor
):
_DOMAINS
=
r
'(?:xhamster\.(?:com|one|desi)|xhms\.pro|xhamster
[27]
\.com)'
_DOMAINS
=
r
'(?:xhamster\.(?:com|one|desi)|xhms\.pro|xhamster
\d+
\.com)'
_VALID_URL
=
r
'''(?x)
https?://
(?:.+?\.)?%s/
...
...
@@ -99,6 +99,12 @@ class XHamsterIE(InfoExtractor):
},
{
'url'
:
'https://xhamster2.com/videos/femaleagent-shy-beauty-takes-the-bait-1509445'
,
'only_matching'
:
True
,
},
{
'url'
:
'https://xhamster11.com/videos/femaleagent-shy-beauty-takes-the-bait-1509445'
,
'only_matching'
:
True
,
},
{
'url'
:
'https://xhamster26.com/videos/femaleagent-shy-beauty-takes-the-bait-1509445'
,
'only_matching'
:
True
,
},
{
'url'
:
'http://xhamster.com/movies/1509445/femaleagent_shy_beauty_takes_the_bait.html'
,
'only_matching'
:
True
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment