1 from __future__ import unicode_literals
3 from .common import InfoExtractor
4 from .internetvideoarchive import InternetVideoArchiveIE
7 class VideoDetectiveIE(InfoExtractor):
8 _VALID_URL = r'https?://(?:www\.)?videodetective\.com/[^/]+/[^/]+/(?P<id>\d+)'
11 'url': 'http://www.videodetective.com/movies/kick-ass-2/194487',
15 'title': 'Kick-Ass 2',
16 'description': 'md5:c189d5b7280400630a1d3dd17eaa8d8a',
20 'skip_download': True,
24 def _real_extract(self, url):
25 video_id = self._match_id(url)
26 query = 'customerid=69249&publishedid=' + video_id
27 return self.url_result(
28 InternetVideoArchiveIE._build_json_url(query),
29 ie=InternetVideoArchiveIE.ie_key())