Browse Source

[vik] Clarify output

master
Philipp Hagemeister 11 years ago
parent
commit
b7553b2554
1 changed files with 2 additions and 1 deletions
  1. 3
      youtube_dl/extractor/viki.py

3
youtube_dl/extractor/viki.py

@ -51,7 +51,8 @@ class VikiIE(SubtitlesInfoExtractor):
age_limit = RATINGS.get(rating_str) age_limit = RATINGS.get(rating_str)
info_url = 'http://www.viki.com/player5_fragment/%s?action=show&controller=videos' % video_id info_url = 'http://www.viki.com/player5_fragment/%s?action=show&controller=videos' % video_id
info_webpage = self._download_webpage(info_url, video_id)
info_webpage = self._download_webpage(
info_url, video_id, note=u'Downloading info page')
video_url = self._html_search_regex( video_url = self._html_search_regex(
r'<source[^>]+src="([^"]+)"', info_webpage, u'video URL') r'<source[^>]+src="([^"]+)"', info_webpage, u'video URL')

Loading…
Cancel
Save