youtube-dl

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

commit ad0c0ad3b4db546dc2078391f397aa5b44c8150b
parent 1ed34f3dd6f534a3a5a3d6808d8d3466a9e5dea2
Author: Sergey M․ <dstftw@gmail.com>
Date:   Wed,  6 May 2015 21:52:26 +0600

[historicfilms] Fix tape id extraction

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

diff --git a/youtube_dl/extractor/historicfilms.py b/youtube_dl/extractor/historicfilms.py @@ -25,7 +25,8 @@ class HistoricFilmsIE(InfoExtractor): webpage = self._download_webpage(url, video_id) tape_id = self._search_regex( - r'class="tapeId">([^<]+)<', webpage, 'tape id') + [r'class="tapeId"[^>]*>([^<]+)<', r'tapeId\s*:\s*"([^"]+)"'], + webpage, 'tape id') title = self._og_search_title(webpage) description = self._og_search_description(webpage)