1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-13 23:57:25 +08:00

[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,
'video host')
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(
r'\|tracks\|([a-z0-9]+)\|', webpage, 'video ext')
video_url = 'http://' + video_host + '/' + video_hash + '/v.' + ext