merge #4855: [nitter] fix video extraction (#4853)

This commit is contained in:
Mike Fährmann
2023-11-27 18:39:05 +01:00
2 changed files with 4 additions and 2 deletions

View File

@@ -96,6 +96,8 @@ class NitterExtractor(BaseExtractor):
for url in text.extract_iter(
attachments, '<source src="', '"'):
if url[0] == "/":
url = self.root + url
append(text.nameext_from_url(url, {"url": url}))
else: