revert id fallback

Authored by: bashonly
This commit is contained in:
bashonly
2025-05-04 17:31:44 -05:00
parent a85e030b37
commit 53214e9c72
+1 -1
View File
@@ -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}),