youtube-dl

Another place where youtube-dl lives on
git clone git://git.oshgnacknak.de/youtube-dl.git
Log | Files | Refs | README | LICENSE

commit 12a51345962bc032de45952ec60989f46544101c
parent 16e633a5d715a36fa4dbff1dbc8bfbf01ad081db
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed, 20 Apr 2016 23:52:41 +0600

[tvigle] Fix extraction (Closes #9259)

Diffstat:
Myoutube_dl/extractor/tvigle.py | 4+++-
1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/youtube_dl/extractor/tvigle.py b/youtube_dl/extractor/tvigle.py @@ -58,7 +58,9 @@ class TvigleIE(InfoExtractor): if not video_id: webpage = self._download_webpage(url, display_id) video_id = self._html_search_regex( - r'class="video-preview current_playing" id="(\d+)">', + (r'<div[^>]+class=["\']player["\'][^>]+id=["\'](\d+)', + r'var\s+cloudId\s*=\s*["\'](\d+)', + r'class="video-preview current_playing" id="(\d+)"'), webpage, 'video id') video_data = self._download_json(