Browse Source

[newstube] Fix GUID extraction (fixes #6109)

totalwebcasting
Jaime Marquínez Ferrándiz 10 years ago
parent
commit
73c471e9ef
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/newstube.py

+ 1
- 1
youtube_dl/extractor/newstube.py View File

@ -31,7 +31,7 @@ class NewstubeIE(InfoExtractor):
page = self._download_webpage(url, video_id, 'Downloading page') page = self._download_webpage(url, video_id, 'Downloading page')
video_guid = self._html_search_regex( video_guid = self._html_search_regex(
r'<meta property="og:video" content="https?://(?:www\.)?newstube\.ru/freshplayer\.swf\?guid=(?P<guid>[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12})',
r'<meta property="og:video:url" content="https?://(?:www\.)?newstube\.ru/freshplayer\.swf\?guid=(?P<guid>[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12})',
page, 'video GUID') page, 'video GUID')
player = self._download_xml( player = self._download_xml(


Loading…
Cancel
Save