[nitter] fix video extraction

This commit is contained in:
enduser420
2023-11-27 21:58:06 +05:30
parent d9734ce008
commit 1e9bacd169
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: