Browse Source

re-fixed XNXX regex problem

rtmp_test
Jeff Crouse 12 years ago
parent
commit
caec7618a1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/InfoExtractors.py

+ 1
- 1
youtube_dl/InfoExtractors.py View File

@ -3294,7 +3294,7 @@ class YoukuIE(InfoExtractor):
class XNXXIE(InfoExtractor): class XNXXIE(InfoExtractor):
"""Information extractor for xnxx.com""" """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' IE_NAME = u'xnxx'
VIDEO_URL_RE = r'flv_url=(.*?)&' VIDEO_URL_RE = r'flv_url=(.*?)&'
VIDEO_TITLE_RE = r'<title>(.*?)\s+-\s+XNXX.COM' VIDEO_TITLE_RE = r'<title>(.*?)\s+-\s+XNXX.COM'


Loading…
Cancel
Save