Call extracted property age_limit everywhere
[youtube-dl] / youtube_dl / extractor / youporn.py
index e2860ec9d6dcb643819f42ade62384d23086d2a1..b1f93dd1bb90d964916394d88d83aaaf153ba15b 100644 (file)
@@ -117,7 +117,7 @@ class YouPornIE(InfoExtractor):
                 'format': format,
                 'thumbnail': thumbnail,
                 'description': video_description,
-                'age_restriction': age_limit,
+                'age_limit': age_limit,
             })
 
         if self._downloader.params.get('listformats', None):