From 53214e9c720a911375cd7999b155164e54cb388b Mon Sep 17 00:00:00 2001 From: bashonly Date: Sun, 4 May 2025 17:31:44 -0500 Subject: [PATCH] revert id fallback Authored by: bashonly --- yt_dlp/extractor/nytimes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yt_dlp/extractor/nytimes.py b/yt_dlp/extractor/nytimes.py index 1b1e9888ba..3472a21597 100644 --- a/yt_dlp/extractor/nytimes.py +++ b/yt_dlp/extractor/nytimes.py @@ -247,7 +247,7 @@ class NYTimesArticleIE(NYTimesBaseIE): def _extract_content_from_block(self, block): details = traverse_obj(block, { - 'id': (('sourceId', 'id'), {str}, any), + 'id': ('sourceId', {str}), 'uploader': ('bylines', ..., 'renderedRepresentation', {str}), 'duration': (None, (('duration', {float_or_none(scale=1000)}), ('length', {int_or_none}))), 'timestamp': ('firstPublished', {parse_iso8601}),