1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-07-05 23:51:09 +02:00

re-fixed XNXX regex problem

This commit is contained in:
Jeff Crouse 2013-01-05 16:05:23 -05:00
parent 7e7ab2815c
commit caec7618a1

View File

@ -3294,7 +3294,7 @@ def _real_extract(self, url):
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'