aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Crouse <jefftimesten@gmail.com>2013-01-05 16:05:23 -0500
committerJeff Crouse <jefftimesten@gmail.com>2013-01-05 16:05:23 -0500
commitcaec7618a113750eba26d080d4ce0afb2279a448 (patch)
tree8563fe18a70cd8f40431a76543bc2d4f8f2dccc6
parent7e7ab2815cc86285f0c768517ec07877b92b0133 (diff)
re-fixed XNXX regex problem
-rwxr-xr-xyoutube_dl/InfoExtractors.py2
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=(.*?)&amp;'
VIDEO_TITLE_RE = r'<title>(.*?)\s+-\s+XNXX.COM'