Fixed direct link torrent mirroring
Signed-off-by: lzzy12 <jhashivam2020@gmail.com>
This commit is contained in:
parent
3754e8b3ce
commit
52e8fbec11
|
|
@ -72,6 +72,8 @@ class YoutubeDLHelper(DownloadHelper):
|
|||
with YoutubeDL(self.opts) as ydl:
|
||||
result = ydl.extract_info(link, download=False)
|
||||
name = ydl.prepare_filename(result)
|
||||
if result.get('direct'):
|
||||
return None
|
||||
if 'entries' in result:
|
||||
video = result['entries'][0]
|
||||
for v in result['entries']:
|
||||
|
|
|
|||
Loading…
Reference in New Issue