mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-12-22 20:20:09 +09:00
[extractors] Add missing age limits
This commit is contained in:
parent
d9f1123c08
commit
9b5c8751ee
@ -14,6 +14,7 @@ class CamModelsIE(InfoExtractor):
|
|||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.cammodels.com/cam/AutumnKnight/',
|
'url': 'https://www.cammodels.com/cam/AutumnKnight/',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
|
'age_limit': 18
|
||||||
}]
|
}]
|
||||||
|
|
||||||
def _real_extract(self, url):
|
def _real_extract(self, url):
|
||||||
@ -93,4 +94,5 @@ class CamModelsIE(InfoExtractor):
|
|||||||
'title': self._live_title(user_id),
|
'title': self._live_title(user_id),
|
||||||
'is_live': True,
|
'is_live': True,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
|
'age_limit': 18
|
||||||
}
|
}
|
||||||
|
@ -20,6 +20,7 @@ class CamTubeIE(InfoExtractor):
|
|||||||
'duration': 1274,
|
'duration': 1274,
|
||||||
'timestamp': 1528018608,
|
'timestamp': 1528018608,
|
||||||
'upload_date': '20180603',
|
'upload_date': '20180603',
|
||||||
|
'age_limit': 18
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
@ -66,4 +67,5 @@ class CamTubeIE(InfoExtractor):
|
|||||||
'like_count': like_count,
|
'like_count': like_count,
|
||||||
'creator': creator,
|
'creator': creator,
|
||||||
'formats': formats,
|
'formats': formats,
|
||||||
|
'age_limit': 18
|
||||||
}
|
}
|
||||||
|
@ -25,6 +25,7 @@ class CamWithHerIE(InfoExtractor):
|
|||||||
'comment_count': int,
|
'comment_count': int,
|
||||||
'uploader': 'MileenaK',
|
'uploader': 'MileenaK',
|
||||||
'upload_date': '20160322',
|
'upload_date': '20160322',
|
||||||
|
'age_limit': 18,
|
||||||
},
|
},
|
||||||
'params': {
|
'params': {
|
||||||
'skip_download': True,
|
'skip_download': True,
|
||||||
@ -84,4 +85,5 @@ class CamWithHerIE(InfoExtractor):
|
|||||||
'comment_count': comment_count,
|
'comment_count': comment_count,
|
||||||
'uploader': uploader,
|
'uploader': uploader,
|
||||||
'upload_date': upload_date,
|
'upload_date': upload_date,
|
||||||
|
'age_limit': 18
|
||||||
}
|
}
|
||||||
|
@ -14,6 +14,7 @@ class YourPornIE(InfoExtractor):
|
|||||||
'ext': 'mp4',
|
'ext': 'mp4',
|
||||||
'title': 'md5:c9f43630bd968267672651ba905a7d35',
|
'title': 'md5:c9f43630bd968267672651ba905a7d35',
|
||||||
'thumbnail': r're:^https?://.*\.jpg$',
|
'thumbnail': r're:^https?://.*\.jpg$',
|
||||||
|
'age_limit': 18
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -38,4 +39,5 @@ class YourPornIE(InfoExtractor):
|
|||||||
'url': video_url,
|
'url': video_url,
|
||||||
'title': title,
|
'title': title,
|
||||||
'thumbnail': thumbnail,
|
'thumbnail': thumbnail,
|
||||||
|
'age_limit': 18
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user