diff options
author | Sergey M․ <dstftw@gmail.com> | 2017-10-06 23:53:32 +0700 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2017-10-06 23:53:32 +0700 |
commit | ac93c09ab2c4d099a628c1ed59670bef008db89c (patch) | |
tree | 3335fea09192af1341eb99bf1bd084f75005a05c | |
parent | cd6fc19ed76af6687fb2cb5f87d9ed4c3071c203 (diff) |
[xtube] Add support for embedded URLs (closes #14417)
-rw-r--r-- | youtube_dl/extractor/xtube.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/youtube_dl/extractor/xtube.py b/youtube_dl/extractor/xtube.py index bea9b87ad..c6c0b3291 100644 --- a/youtube_dl/extractor/xtube.py +++ b/youtube_dl/extractor/xtube.py @@ -18,7 +18,7 @@ class XTubeIE(InfoExtractor): _VALID_URL = r'''(?x) (?: xtube:| - https?://(?:www\.)?xtube\.com/(?:watch\.php\?.*\bv=|video-watch/(?P<display_id>[^/]+)-) + https?://(?:www\.)?xtube\.com/(?:watch\.php\?.*\bv=|video-watch/(?:embedded/)?(?P<display_id>[^/]+)-) ) (?P<id>[^/?&#]+) ''' @@ -64,6 +64,9 @@ class XTubeIE(InfoExtractor): }, { 'url': 'xtube:kVTUy_G222_', 'only_matching': True, + }, { + 'url': 'https://www.xtube.com/video-watch/embedded/milf-tara-and-teen-shared-and-cum-covered-extreme-bukkake-32203482?embedsize=big', + 'only_matching': True, }] def _real_extract(self, url): |