[91porn] Extract age limit
authorSergey M․ <dstftw@gmail.com>
Sat, 8 Aug 2015 15:30:57 +0000 (21:30 +0600)
committerSergey M․ <dstftw@gmail.com>
Sat, 8 Aug 2015 15:30:57 +0000 (21:30 +0600)
youtube_dl/extractor/porn91.py

index 72d1b2718692d902b16efa303f9a14dd7d456f1f..3e15533e9d445e96884974af398e0461438bcc8b 100644 (file)
@@ -22,6 +22,7 @@ class Porn91IE(InfoExtractor):
             'title': '18岁大一漂亮学妹,水嫩性感,再爽一次!',
             'ext': 'mp4',
             'duration': 431,
+            'age_limit': 18,
         }
     }
 
@@ -68,4 +69,5 @@ class Porn91IE(InfoExtractor):
             'url': video_url,
             'duration': duration,
             'comment_count': comment_count,
+            'age_limit': self._rta_search(webpage),
         }