Browse Source

[xnxx] Accept urls that start with 'www' (fixes #1734)

rtmp_test
Jaime Marquínez Ferrándiz 11 years ago
parent
commit
b1a80ec1a9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/xnxx.py

+ 1
- 1
youtube_dl/extractor/xnxx.py View File

@ -9,7 +9,7 @@ from ..utils import (
class XNXXIE(InfoExtractor): class XNXXIE(InfoExtractor):
_VALID_URL = r'^(?:https?://)?video\.xnxx\.com/video([0-9]+)/(.*)'
_VALID_URL = r'^(?:https?://)?(?:video|www)\.xnxx\.com/video([0-9]+)/(.*)'
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'
VIDEO_THUMB_RE = r'url_bigthumb=(.*?)&amp;' VIDEO_THUMB_RE = r'url_bigthumb=(.*?)&amp;'


Loading…
Cancel
Save