forked from sch/Slixfeed
Remove magnet link check
This commit is contained in:
parent
43fa1a463c
commit
f721059278
1 changed files with 1 additions and 5 deletions
|
@ -245,11 +245,7 @@ async def send_update(self, jid, num=None):
|
|||
await mark_as_read(db_file, ix)
|
||||
|
||||
# Find media
|
||||
if url.startswith("magnet:"):
|
||||
media = action.get_magnet(url)
|
||||
elif enclosure.startswith("magnet:"):
|
||||
media = action.get_magnet(enclosure)
|
||||
elif enclosure:
|
||||
if enclosure:
|
||||
media = enclosure
|
||||
else:
|
||||
media = await action.extract_image_from_html(url)
|
||||
|
|
Loading…
Reference in a new issue