[vidzi] Updated extractor

This commit is contained in:
Your Name 2016-01-15 22:25:46 +01:00
parent f3ed5df611
commit 405d27867c

View File

@ -24,7 +24,7 @@ class VidziIE(InfoExtractor):
r'id=\'vplayer\'><img src="http://(.*?)/i', webpage, r'id=\'vplayer\'><img src="http://(.*?)/i', webpage,
'video host') 'video host')
video_hash = self._html_search_regex( video_hash = self._html_search_regex(
r'\|([a-z0-9]+)\|hls\|type', webpage, 'video_hash') r'\|([a-z0-9]+)\|hls\|\|type', webpage, 'video_hash')
ext = self._html_search_regex( ext = self._html_search_regex(
r'\|tracks\|([a-z0-9]+)\|', webpage, 'video ext') r'\|tracks\|([a-z0-9]+)\|', webpage, 'video ext')
video_url = 'http://' + video_host + '/' + video_hash + '/v.' + ext video_url = 'http://' + video_host + '/' + video_hash + '/v.' + ext