]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[viewlift] Remove rating format transformation
authorRemita Amine <remitamine@gmail.com>
Wed, 23 May 2018 11:13:44 +0000 (12:13 +0100)
committerRemita Amine <remitamine@gmail.com>
Wed, 23 May 2018 11:13:44 +0000 (12:13 +0100)
youtube_dl/extractor/viewlift.py

index e466156f6c393ce6ff4df93038c0c925887e7237..51a002b11bd81c06489ea5fcb6a75e114751868e 100644 (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,
             }