aboutsummaryrefslogtreecommitdiff
path: root/youtube_dl/extractor/pornhd.py
diff options
context:
space:
mode:
authorPhilipp Hagemeister <phihag@phihag.de>2014-01-05 03:12:57 +0100
committerPhilipp Hagemeister <phihag@phihag.de>2014-01-05 03:13:10 +0100
commit448711e39f4af17db87e6785b4adec3c200beecd (patch)
treee1624cb79baa41908164d591a6811822f925330c /youtube_dl/extractor/pornhd.py
parent8bf48f237dbd7b3fc606de69cf468827643ecfdd (diff)
[pornhd] Add support for ISO-3166 subpages (Fixes #2088)
Diffstat (limited to 'youtube_dl/extractor/pornhd.py')
-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',