3 from .common import InfoExtractor
5 class HentaiStigmaIE(InfoExtractor):
6 _VALID_URL = r'^https?://hentai\.animestigma\.com/(?P<videoid>[^/]+)'
8 u'url': u'http://hentai.animestigma.com/inyouchuu-etsu-bonus/',
9 u'file': u'inyouchuu-etsu-bonus.mp4',
10 u'md5': u'4e3d07422a68a4cc363d8f57c8bf0d23',
12 u"title": u"Inyouchuu Etsu Bonus",
17 def _real_extract(self, url):
18 mobj = re.match(self._VALID_URL, url)
20 video_id = mobj.group('videoid')
23 webpage = self._download_webpage(url, video_id)
26 video_title = self._html_search_regex(r'<h2 class="posttitle"><a[^>]*>([^<]+)</a>',
27 webpage, u'title').strip()
30 wrap_url = self._html_search_regex(r'<iframe src="([^"]+mp4)"', webpage, u'wrapper url')
33 wrap_webpage = self._download_webpage(wrap_url, video_id)
35 video_url = self._html_search_regex(r'clip:\s*{\s*url: "([^"]*)"', wrap_webpage, u'video url')
37 info = {'id': video_id,