projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
a7e3485
)
[xhamster] Extend _VALID_URL (closes #25927)
author
Sergey M․
<dstftw@gmail.com>
Wed, 12 Aug 2020 14:51:06 +0000
(21:51 +0700)
committer
Sergey M․
<dstftw@gmail.com>
Wed, 12 Aug 2020 14:51:50 +0000
(21:51 +0700)
youtube_dl/extractor/xhamster.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/xhamster.py
b/youtube_dl/extractor/xhamster.py
index babe317390255ad3956ac1fe24d225ba9880efc0..902a3ed338e914c9e20edc3c643d0e5274d71fe7 100644
(file)
--- a/
youtube_dl/extractor/xhamster.py
+++ b/
youtube_dl/extractor/xhamster.py
@@
-20,7
+20,7
@@
from ..utils import (
class XHamsterIE(InfoExtractor):
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/
_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://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,
}, {
'url': 'http://xhamster.com/movies/1509445/femaleagent_shy_beauty_takes_the_bait.html',
'only_matching': True,