summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorPhilipp Hagemeister <[email protected]>2014-01-05 03:12:57 +0100
committerPhilipp Hagemeister <[email protected]>2014-01-05 03:13:10 +0100
commit448711e39f4af17db87e6785b4adec3c200beecd (patch)
treee1624cb79baa41908164d591a6811822f925330c
parent8bf48f237dbd7b3fc606de69cf468827643ecfdd (diff)
downloadyoutube-dl-448711e39f4af17db87e6785b4adec3c200beecd.tar.gz
youtube-dl-448711e39f4af17db87e6785b4adec3c200beecd.zip
[pornhd] Add support for ISO-3166 subpages (Fixes #2088)
-rw-r--r--youtube_dl/extractor/pornhd.py2
1 files changed, 1 insertions, 1 deletions
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<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',