projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fca1ef1
)
[pornhub] Fix URL regexp
author
Philipp Hagemeister
<phihag@phihag.de>
Wed, 11 Dec 2013 08:22:08 +0000
(09:22 +0100)
committer
Philipp Hagemeister
<phihag@phihag.de>
Wed, 11 Dec 2013 08:22:08 +0000
(09:22 +0100)
youtube_dl/extractor/pornhub.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/pornhub.py
b/youtube_dl/extractor/pornhub.py
index 8b3471919565d4c7044d51eb24e8ef01cc8e77fc..d9135c6b929765e87b13e58f6fd6af5567c55199 100644
(file)
--- a/
youtube_dl/extractor/pornhub.py
+++ b/
youtube_dl/extractor/pornhub.py
@@
-12,7
+12,7
@@
from ..aes import (
)
class PornHubIE(InfoExtractor):
- _VALID_URL = r'^(?:https?://)?(?:www\.)?(?P<url>pornhub\.com/view_video\.php\?viewkey=(?P<videoid>[0-9]+))'
+ _VALID_URL = r'^(?:https?://)?(?:www\.)?(?P<url>pornhub\.com/view_video\.php\?viewkey=(?P<videoid>[0-9
a-f
]+))'
_TEST = {
u'url': u'http://www.pornhub.com/view_video.php?viewkey=648719015',
u'file': u'648719015.mp4',