projects
/
youtube-dl
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b836118
)
[viewlift] Remove rating format transformation
author
Remita Amine
<remitamine@gmail.com>
Wed, 23 May 2018 11:13:44 +0000
(12:13 +0100)
committer
Remita Amine
<remitamine@gmail.com>
Wed, 23 May 2018 11:13:44 +0000
(12:13 +0100)
youtube_dl/extractor/viewlift.py
patch
|
blob
|
history
diff --git
a/youtube_dl/extractor/viewlift.py
b/youtube_dl/extractor/viewlift.py
index e466156f6c393ce6ff4df93038c0c925887e7237..51a002b11bd81c06489ea5fcb6a75e114751868e 100644
(file)
--- 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,
}