mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-28 02:01:25 +01:00
Compare commits
No commits in common. "51910a46e46ee72cc2f479aebaa858c1a496fb3e" and "40420cce6deaafe1ea15b5742b09f46cbe96cce9" have entirely different histories.
51910a46e4
...
40420cce6d
|
@ -368,10 +368,10 @@ class ARDBetaMediathekIE(InfoExtractor):
|
|||
|
||||
# For user convenience we use the old contentId instead of the longer crid
|
||||
# Ref: https://github.com/yt-dlp/yt-dlp/issues/8731#issuecomment-1874398283
|
||||
old_id = traverse_obj(page_data, ('tracking', 'atiCustomVars', 'contentId', {int}))
|
||||
if old_id is not None:
|
||||
video_id = str(old_id)
|
||||
archive_ids = [make_archive_id(ARDBetaMediathekIE, display_id)]
|
||||
old_id = traverse_obj(page_data, ('tracking', 'atiCustomVars', 'contentId', {str_or_none}))
|
||||
if old_id:
|
||||
video_id = old_id
|
||||
archive_ids = [make_archive_id(ARDBetaMediathekIE, video_id)]
|
||||
else:
|
||||
self.report_warning(f'Could not extract contentId{bug_reports_message()}')
|
||||
video_id = display_id
|
||||
|
|
Loading…
Reference in New Issue
Block a user