Linting tests

This commit is contained in:
erinhmclark
2025-03-12 14:27:45 +00:00
parent 79f576be1d
commit 753c3c6214
15 changed files with 40 additions and 42 deletions

View File

@@ -14,7 +14,7 @@ class TiktokTikwmExtractor(Extractor):
"""
TIKWM_ENDPOINT = "https://www.tikwm.com/api/?url={url}"
def download(self, item: Metadata) -> Metadata:
def download(self, item: Metadata) -> bool | Metadata:
url = item.get_url()
if not re.match(TikTokIE._VALID_URL, url):