diff options
author | MikeCol <MikeCol@gmx.net> | 2014-08-22 22:17:07 +0200 |
---|---|---|
committer | MikeCol <MikeCol@gmx.net> | 2014-08-22 22:17:07 +0200 |
commit | 68909f0c4ec1722016b6d090c5a851d1f6013de8 (patch) | |
tree | ac9c07420e3ea1871c776eb1116ab5d652c8d656 /youtube_dl | |
parent | 9d048a17d818764e7f0d24519a09a36442d455ea (diff) |
changed _VALID_URL to allow for country specific prefixes
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/xhamster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/extractor/xhamster.py b/youtube_dl/extractor/xhamster.py index 5374495f9..00b6d1eba 100644 --- a/youtube_dl/extractor/xhamster.py +++ b/youtube_dl/extractor/xhamster.py @@ -14,7 +14,7 @@ from ..utils import ( class XHamsterIE(InfoExtractor): """Information Extractor for xHamster""" - _VALID_URL = r'http://(?:www\.)?xhamster\.com/movies/(?P<id>[0-9]+)/(?P<seo>.+?)\.html(?:\?.*)?' + _VALID_URL = r'http://(?:.+?\.)?xhamster\.com/movies/(?P<id>[0-9]+)/(?P<seo>.+?)\.html(?:\?.*)?' _TESTS = [ { 'url': 'http://xhamster.com/movies/1509445/femaleagent_shy_beauty_takes_the_bait.html', |