projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7e7ab28
)
re-fixed XNXX regex problem
author
Jeff Crouse
<jefftimesten@gmail.com>
Sat, 5 Jan 2013 21:05:23 +0000
(16:05 -0500)
committer
Jeff Crouse
<jefftimesten@gmail.com>
Sat, 5 Jan 2013 21:05:23 +0000
(16:05 -0500)
youtube_dl/InfoExtractors.py
patch
|
blob
|
history
diff --git
a/youtube_dl/InfoExtractors.py
b/youtube_dl/InfoExtractors.py
index 72ad25ad316967a3e85e554fd650e6a76cd3a092..905e212b099319f96415a8af56c63fc27d28ecd4 100755
(executable)
--- 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'<title>(.*?)\s+-\s+XNXX.COM'