mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-02-25 01:46:01 +00:00
[ie/aenetworks] Fix extraction (#16036)
Fix 2485653859
Authored by: bashonly
This commit is contained in:
@@ -91,8 +91,8 @@ class AENetworksBaseIE(ThePlatformIE): # XXX: Do not subclass from concrete IE
|
|||||||
if filter_key == 'canonical':
|
if filter_key == 'canonical':
|
||||||
webpage = self._download_webpage(url, filter_value)
|
webpage = self._download_webpage(url, filter_value)
|
||||||
graphql_video_id = self._search_regex(
|
graphql_video_id = self._search_regex(
|
||||||
r'<meta\b[^>]+\bcontent="[^"]*\btpid/(\d+)"', webpage,
|
r'<meta\b[^>]+\bcontent="[^"]*\btpid/(\d+)"', webpage, 'id',
|
||||||
'id') or self._html_search_meta('videoId', webpage, 'GraphQL video ID', fatal=True)
|
default=None) or self._html_search_meta('videoId', webpage, 'GraphQL video ID', fatal=True)
|
||||||
else:
|
else:
|
||||||
graphql_video_id = filter_value
|
graphql_video_id = filter_value
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user