mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2026-09-13 20:25:57 +00:00
[cleanup] Misc (#10807)
Closes #10751, Closes #10769, Closes #10791 Authored by: bashonly, Codenade, pzhlkj6612, seproDev, coletdjnz, grqz, Grub4K Co-authored-by: Codenade <[email protected]> Co-authored-by: Mozi <[email protected]> Co-authored-by: sepro <[email protected]> Co-authored-by: coletdjnz <[email protected]> Co-authored-by: N/Ame <[email protected]> Co-authored-by: Simon Sawicki <[email protected]>
This commit is contained in:
co-authored by
Codenade
Mozi
sepro
coletdjnz
N/Ame
Simon Sawicki
parent
cca534cd9e
commit
c6387abc1a
@@ -33,7 +33,7 @@ class SponsorBlockPP(FFmpegPostProcessor):
|
||||
def __init__(self, downloader, categories=None, api='https://sponsor.ajay.app'):
|
||||
FFmpegPostProcessor.__init__(self, downloader)
|
||||
self._categories = tuple(categories or self.CATEGORIES.keys())
|
||||
self._API_URL = api if re.match('^https?://', api) else 'https://' + api
|
||||
self._API_URL = api if re.match('https?://', api) else 'https://' + api
|
||||
|
||||
def run(self, info):
|
||||
extractor = info['extractor_key']
|
||||
|
||||
Reference in New Issue
Block a user