From: Philipp Hagemeister Date: Wed, 11 Dec 2013 08:22:08 +0000 (+0100) Subject: [pornhub] Fix URL regexp X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=00381b4ccbf0504f15f48aeddc242fd8535b5c2d;p=youtube-dl [pornhub] Fix URL regexp --- diff --git a/youtube_dl/extractor/pornhub.py b/youtube_dl/extractor/pornhub.py index 8b3471919..d9135c6b9 100644 --- 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\.)?(?Ppornhub\.com/view_video\.php\?viewkey=(?P[0-9]+))' + _VALID_URL = r'^(?:https?://)?(?:www\.)?(?Ppornhub\.com/view_video\.php\?viewkey=(?P[0-9a-f]+))' _TEST = { u'url': u'http://www.pornhub.com/view_video.php?viewkey=648719015', u'file': u'648719015.mp4',