Browse Source

[pornhub] Fix URL regexp

totalwebcasting
Philipp Hagemeister 11 years ago
parent
commit
00381b4ccb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/pornhub.py

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

@ -12,7 +12,7 @@ from ..aes import (
) )
class PornHubIE(InfoExtractor): 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-9a-f]+))'
_TEST = { _TEST = {
u'url': u'http://www.pornhub.com/view_video.php?viewkey=648719015', u'url': u'http://www.pornhub.com/view_video.php?viewkey=648719015',
u'file': u'648719015.mp4', u'file': u'648719015.mp4',


Loading…
Cancel
Save