Compare commits

..

No commits in common. "51910a46e46ee72cc2f479aebaa858c1a496fb3e" and "40420cce6deaafe1ea15b5742b09f46cbe96cce9" have entirely different histories.

View File

@ -368,10 +368,10 @@ class ARDBetaMediathekIE(InfoExtractor):
# For user convenience we use the old contentId instead of the longer crid # 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 # Ref: https://github.com/yt-dlp/yt-dlp/issues/8731#issuecomment-1874398283
old_id = traverse_obj(page_data, ('tracking', 'atiCustomVars', 'contentId', {int})) old_id = traverse_obj(page_data, ('tracking', 'atiCustomVars', 'contentId', {str_or_none}))
if old_id is not None: if old_id:
video_id = str(old_id) video_id = old_id
archive_ids = [make_archive_id(ARDBetaMediathekIE, display_id)] archive_ids = [make_archive_id(ARDBetaMediathekIE, video_id)]
else: else:
self.report_warning(f'Could not extract contentId{bug_reports_message()}') self.report_warning(f'Could not extract contentId{bug_reports_message()}')
video_id = display_id video_id = display_id