1
0
Fork 0
mirror of https://gitlab.com/dstftw/youtube-dl.git synced 2020-11-16 09:42:26 +00:00

[historicfilms] Fix tape id extraction

This commit is contained in:
Sergey M․ 2015-05-06 21:52:26 +06:00
parent 1ed34f3dd6
commit ad0c0ad3b4

View file

@ -25,7 +25,8 @@ class HistoricFilmsIE(InfoExtractor):
webpage = self._download_webpage(url, video_id) webpage = self._download_webpage(url, video_id)
tape_id = self._search_regex( 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) title = self._og_search_title(webpage)
description = self._og_search_description(webpage) description = self._og_search_description(webpage)