2 from __future__ import unicode_literals
4 from .common import InfoExtractor
5 from ..compat import compat_urllib_parse_unquote
8 class ManyVidsIE(InfoExtractor):
9 _VALID_URL = r'https?://www.manyvids\.com/Video/(?P<id>[0-9]+)'
11 'url': 'https://www.manyvids.com/Video/133957/everthing-about-me/',
12 'md5': '03f11bb21c52dd12a05be21a5c7dcc97',
16 'title': 'everthing about me',
21 def _real_extract(self, url):
23 video_id = self._match_id(url)
24 webpage = self._download_webpage(url, video_id)
25 video_url = compat_urllib_parse_unquote(self._search_regex(
26 r'data-video-filepath=\"(.+?)\"', webpage, 'video URL', default=''))
28 title = self._html_search_regex(r'<h2[^>]+class="m-a-0"[^>]*>([^<]+)', webpage, 'title')