[extractors] Add missing age limits
authoriwconfig <snelhingst@gmail.com>
Tue, 1 Jan 2019 14:39:18 +0000 (15:39 +0100)
committerSergey M <dstftw@gmail.com>
Tue, 1 Jan 2019 14:39:18 +0000 (21:39 +0700)
youtube_dl/extractor/cammodels.py
youtube_dl/extractor/camtube.py
youtube_dl/extractor/camwithher.py
youtube_dl/extractor/yourporn.py

index 79350817f5599fba1b560215076aea2878984835..1eb81b75e95044d460d7f53e1d59e9ec174c6480 100644 (file)
@@ -14,6 +14,7 @@ class CamModelsIE(InfoExtractor):
     _TESTS = [{
         'url': 'https://www.cammodels.com/cam/AutumnKnight/',
         'only_matching': True,
+        'age_limit': 18
     }]
 
     def _real_extract(self, url):
@@ -93,4 +94,5 @@ class CamModelsIE(InfoExtractor):
             'title': self._live_title(user_id),
             'is_live': True,
             'formats': formats,
+            'age_limit': 18
         }
index c7d40f849a206b4842af84119d78e2f75a4da696..b3be3bdcf7850c44ca85519e6c32356e5a5d9804 100644 (file)
@@ -20,6 +20,7 @@ class CamTubeIE(InfoExtractor):
             'duration': 1274,
             'timestamp': 1528018608,
             'upload_date': '20180603',
+            'age_limit': 18
         },
         'params': {
             'skip_download': True,
@@ -66,4 +67,5 @@ class CamTubeIE(InfoExtractor):
             'like_count': like_count,
             'creator': creator,
             'formats': formats,
+            'age_limit': 18
         }
index afbc5ea267400394dd7c477b9468ef434c96be6c..bbc5205fded6ee2ba99c159e5436d9fcb74ffd2b 100644 (file)
@@ -25,6 +25,7 @@ class CamWithHerIE(InfoExtractor):
             'comment_count': int,
             'uploader': 'MileenaK',
             'upload_date': '20160322',
+            'age_limit': 18,
         },
         'params': {
             'skip_download': True,
@@ -84,4 +85,5 @@ class CamWithHerIE(InfoExtractor):
             'comment_count': comment_count,
             'uploader': uploader,
             'upload_date': upload_date,
+            'age_limit': 18
         }
index a9951f3b83090ec076d0f5549f8c5c7a5f09efe4..432d1fff42334b95616420bbe22545055f7cf1e6 100644 (file)
@@ -14,6 +14,7 @@ class YourPornIE(InfoExtractor):
             'ext': 'mp4',
             'title': 'md5:c9f43630bd968267672651ba905a7d35',
             'thumbnail': r're:^https?://.*\.jpg$',
+            'age_limit': 18
         },
     }
 
@@ -38,4 +39,5 @@ class YourPornIE(InfoExtractor):
             'url': video_url,
             'title': title,
             'thumbnail': thumbnail,
+            'age_limit': 18
         }