mirror of
https://github.com/ytdl-org/ytdl-nightly.git
synced 2025-06-05 21:49:13 +02:00
[historicfilms] Fix tape id extraction
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user