1
0
Fork 0
mirror of https://github.com/ytdl-org/youtube-dl.git synced 2024-11-25 03:32:05 +00:00

[viewlift] Remove rating format transformation

This commit is contained in:
Remita Amine 2018-05-23 12:13:44 +01:00
parent b836118724
commit 670dcba8c7

View file

@ -214,7 +214,7 @@ class ViewLiftIE(ViewLiftBaseIE):
'description': gist.get('description'),
'thumbnail': gist.get('videoImageUrl'),
'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),
'formats': formats,
}