diff options
author | Jeff Crouse <jefftimesten@gmail.com> | 2013-01-05 16:05:23 -0500 |
---|---|---|
committer | Jeff Crouse <jefftimesten@gmail.com> | 2013-01-05 16:05:23 -0500 |
commit | caec7618a113750eba26d080d4ce0afb2279a448 (patch) | |
tree | 8563fe18a70cd8f40431a76543bc2d4f8f2dccc6 /youtube_dl/InfoExtractors.py | |
parent | 7e7ab2815cc86285f0c768517ec07877b92b0133 (diff) |
re-fixed XNXX regex problem
Diffstat (limited to 'youtube_dl/InfoExtractors.py')
-rwxr-xr-x | youtube_dl/InfoExtractors.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/youtube_dl/InfoExtractors.py b/youtube_dl/InfoExtractors.py index 72ad25ad3..905e212b0 100755 --- a/youtube_dl/InfoExtractors.py +++ b/youtube_dl/InfoExtractors.py @@ -3294,7 +3294,7 @@ class YoukuIE(InfoExtractor): class XNXXIE(InfoExtractor): """Information extractor for xnxx.com""" - _VALID_URL = r'^http://video\.xnxx\.com/video([0-9]+)/(.*)' + _VALID_URL = r'^(?:https?://)?video\.xnxx\.com/video([0-9]+)/(.*)' IE_NAME = u'xnxx' VIDEO_URL_RE = r'flv_url=(.*?)&' VIDEO_TITLE_RE = r'<title>(.*?)\s+-\s+XNXX.COM' |