diff options
author | Sergey M․ <dstftw@gmail.com> | 2019-03-31 01:27:45 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2019-03-31 01:27:45 +0700 |
commit | b43c5f474a7be2f7dbfd4c887ded6c751f081d73 (patch) | |
tree | d9ffc21e6d4c28abd2cd070c70a2d5d40ebfb265 | |
parent | 4014a4862268db8357c7b9e3750c188b1648277e (diff) |
[xhamster] Add support for xhamster.one (closes #20508)
-rw-r--r-- | youtube_dl/extractor/xhamster.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.py index 68a48034e..d268372e6 100644 --- a/youtube_dl/extractor/xhamster.py +++ b/youtube_dl/extractor/xhamster.py @@ -20,7 +20,7 @@ from ..utils import ( class XHamsterIE(InfoExtractor): _VALID_URL = r'''(?x) https?:// - (?:.+?\.)?xhamster\.com/ + (?:.+?\.)?xhamster\.(?:com|one)/ (?: movies/(?P<id>\d+)/(?P<display_id>[^/]*)\.html| videos/(?P<display_id_2>[^/]*)-(?P<id_2>\d+) @@ -91,6 +91,9 @@ class XHamsterIE(InfoExtractor): # new URL schema 'url': 'https://pt.xhamster.com/videos/euro-pedal-pumping-7937821', 'only_matching': True, + }, { + 'url': 'https://xhamster.one/videos/femaleagent-shy-beauty-takes-the-bait-1509445', + 'only_matching': True, }] def _real_extract(self, url): |