3 from .common import InfoExtractor
4 from ..utils import compat_urllib_parse
7 class PornHdIE(InfoExtractor):
8 _VALID_URL = r'(?:http://)?(?:www\.)?pornhd\.com/videos/(?P<video_id>[0-9]+)/(?P<video_title>.+)'
10 u'url': u'http://www.pornhd.com/videos/1962/sierra-day-gets-his-cum-all-over-herself-hd-porn-video',
12 u'md5': u'35272469887dca97abd30abecc6cdf75',
14 u"title": u"sierra-day-gets-his-cum-all-over-herself-hd-porn-video",
19 def _real_extract(self, url):
20 mobj = re.match(self._VALID_URL, url)
22 video_id = mobj.group('video_id')
23 video_title = mobj.group('video_title')
25 webpage = self._download_webpage(url, video_id)
27 video_url = self._html_search_regex(
28 r'&hd=(http.+?)&', webpage, u'video URL')
29 video_url = compat_urllib_parse.unquote(video_url)
37 'age_limit': age_limit,