mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-02 16:37:59 +09:00
Non capture group, removed description, test value
This commit is contained in:
parent
625a551f84
commit
15480a5083
@ -5,13 +5,14 @@ from .common import InfoExtractor
|
||||
|
||||
|
||||
class CaptionGeneratorIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?captiongenerator\.com/(?P<id>[0-9]+)'
|
||||
_VALID_URL = r'(?:https?://(?:www\.)?captiongenerator\.com/(?P<id>[0-9]+))'
|
||||
_TEST = {
|
||||
'url': 'https://d34ov3vwfhhb30.cloudfront.net/Hitler+Reacts+-+No+Subtitles.mp4',
|
||||
'info_dict': {
|
||||
'id': '128',
|
||||
'ext': 'mp4',
|
||||
'title': 'Team building...',
|
||||
'http_headers': {"Referer": "https://www.captiongenerator.com/"}
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,6 +36,5 @@ class CaptionGeneratorIE(InfoExtractor):
|
||||
'id': video_id,
|
||||
'title': title,
|
||||
'url': video_url,
|
||||
'description': self._og_search_description(webpage),
|
||||
'http_headers': {"Referer": "https://www.captiongenerator.com/"}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user