From: Philipp Hagemeister Date: Sun, 5 Jan 2014 02:12:57 +0000 (+0100) Subject: [pornhd] Add support for ISO-3166 subpages (Fixes #2088) X-Git-Url: http://git.oshgnacknak.de/?a=commitdiff_plain;h=448711e39f4af17db87e6785b4adec3c200beecd;p=youtube-dl [pornhd] Add support for ISO-3166 subpages (Fixes #2088) --- diff --git a/youtube_dl/extractor/pornhd.py b/youtube_dl/extractor/pornhd.py index 71abd5013..e9ff8d1af 100644 --- a/youtube_dl/extractor/pornhd.py +++ b/youtube_dl/extractor/pornhd.py @@ -5,7 +5,7 @@ from ..utils import compat_urllib_parse class PornHdIE(InfoExtractor): - _VALID_URL = r'(?:http://)?(?:www\.)?pornhd\.com/videos/(?P[0-9]+)/(?P.+)' + _VALID_URL = r'(?:http://)?(?:www\.)?pornhd\.com/(?:[a-z]{2,4}/)?videos/(?P[0-9]+)/(?P.+)' _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',