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