diff options
author | Sergey M․ <dstftw@gmail.com> | 2015-05-06 21:52:26 +0600 |
---|---|---|
committer | Sergey M․ <dstftw@gmail.com> | 2015-05-06 21:52:26 +0600 |
commit | ad0c0ad3b4db546dc2078391f397aa5b44c8150b (patch) | |
tree | e056b1bd10be0795a879dedeb8a2cfe6a130943b /youtube_dl | |
parent | 1ed34f3dd6f534a3a5a3d6808d8d3466a9e5dea2 (diff) |
[historicfilms] Fix tape id extraction
Diffstat (limited to 'youtube_dl')
-rw-r--r-- | youtube_dl/extractor/historicfilms.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/youtube_dl/extractor/historicfilms.py b/youtube_dl/extractor/historicfilms.py index 40afbe537..6a36933ac 100644 --- 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) |