1 from .common
import InfoExtractor
2 from .internetvideoarchive
import InternetVideoArchiveIE
5 class VideoDetectiveIE(InfoExtractor
):
6 _VALID_URL
= r
'https?://(?:www\.)?videodetective\.com/[^/]+/[^/]+/(?P<id>\d+)'
9 'url': 'http://www.videodetective.com/movies/kick-ass-2/194487',
13 'title': 'Kick-Ass 2',
14 'description': 'md5:c189d5b7280400630a1d3dd17eaa8d8a',
18 'skip_download': True,
22 def _real_extract(self
, url
):
23 video_id
= self
._match
_id
(url
)
24 query
= 'customerid=69249&publishedid=' + video_id
25 return self
.url_result(
26 InternetVideoArchiveIE
._build
_json
_url
(query
),
27 ie
=InternetVideoArchiveIE
.ie_key())