From: Remita Amine Date: Wed, 23 May 2018 11:13:44 +0000 (+0100) Subject: [viewlift] Remove rating format transformation X-Git-Url: http://git.bitcoin.ninja/?a=commitdiff_plain;h=670dcba8c73ee69545513522676b2c480bc48662;p=youtube-dl [viewlift] Remove rating format transformation --- diff --git a/youtube_dl/extractor/viewlift.py b/youtube_dl/extractor/viewlift.py index e466156f6..51a002b11 100644 --- a/youtube_dl/extractor/viewlift.py +++ b/youtube_dl/extractor/viewlift.py @@ -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, }