mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-04 18:21:39 +03:00
revert id fallback
Authored by: bashonly
This commit is contained in:
@@ -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}),
|
||||
|
||||
Reference in New Issue
Block a user