1
0
mirror of https://github.com/l1ving/youtube-dl synced 2024-11-20 21:52:54 +08:00

[pornhd] Add support for ISO-3166 subpages (Fixes #2088)

This commit is contained in:
Philipp Hagemeister 2014-01-05 03:12:57 +01:00
parent 8bf48f237d
commit 448711e39f

View File

@ -5,7 +5,7 @@ from ..utils import compat_urllib_parse
class PornHdIE(InfoExtractor):
_VALID_URL = r'(?:http://)?(?:www\.)?pornhd\.com/videos/(?P<video_id>[0-9]+)/(?P<video_title>.+)'
_VALID_URL = r'(?:http://)?(?:www\.)?pornhd\.com/(?:[a-z]{2,4}/)?videos/(?P<video_id>[0-9]+)/(?P<video_title>.+)'
_TEST = {
u'url': u'http://www.pornhd.com/videos/1962/sierra-day-gets-his-cum-all-over-herself-hd-porn-video',
u'file': u'1962.flv',