1 from __future__ import unicode_literals
5 from .common import InfoExtractor
8 class SlutloadIE(InfoExtractor):
9 _VALID_URL = r'^https?://(?:\w+\.)?slutload\.com/video/[^/]+/(?P<id>[^/]+)/?$'
11 'url': 'http://www.slutload.com/video/virginie-baisee-en-cam/TD73btpBqSxc/',
12 'md5': '0cf531ae8006b530bd9df947a6a0df77',
16 "title": "virginie baisee en cam",
18 'thumbnail': 're:https?://.*?\.jpg'
22 def _real_extract(self, url):
23 mobj = re.match(self._VALID_URL, url)
24 video_id = mobj.group('id')
26 webpage = self._download_webpage(url, video_id)
28 video_title = self._html_search_regex(r'<h1><strong>([^<]+)</strong>',
29 webpage, 'title').strip()
31 video_url = self._html_search_regex(
32 r'(?s)<div id="vidPlayer"\s+data-url="([^"]+)"',
34 thumbnail = self._html_search_regex(
35 r'(?s)<div id="vidPlayer"\s+.*?previewer-file="([^"]+)"',
36 webpage, 'thumbnail', fatal=False)
42 'thumbnail': thumbnail,