mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-15 18:12:58 +00:00
[viewlift] Remove rating format transformation
This commit is contained in:
parent
b836118724
commit
670dcba8c7
@ -214,7 +214,7 @@ def _real_extract(self, url):
|
|||||||
'description': gist.get('description'),
|
'description': gist.get('description'),
|
||||||
'thumbnail': gist.get('videoImageUrl'),
|
'thumbnail': gist.get('videoImageUrl'),
|
||||||
'duration': int_or_none(gist.get('runtime')),
|
'duration': int_or_none(gist.get('runtime')),
|
||||||
'age_limit': parse_age_limit(content_data.get('parentalRating', '').replace('_', '-')),
|
'age_limit': parse_age_limit(content_data.get('parentalRating')),
|
||||||
'timestamp': int_or_none(gist.get('publishDate'), 1000),
|
'timestamp': int_or_none(gist.get('publishDate'), 1000),
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user