From: Jeff Crouse Date: Sat, 5 Jan 2013 21:05:23 +0000 (-0500) Subject: re-fixed XNXX regex problem X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=caec7618a113750eba26d080d4ce0afb2279a448;p=youtube-dl re-fixed XNXX regex problem --- 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'(.*?)\s+-\s+XNXX.COM'