Fix Installazione Elementum

This commit is contained in:
Alhaziel01
2021-10-29 11:40:25 +02:00
parent e8c5f335b3
commit 852588254a
3 changed files with 28 additions and 14 deletions
+5 -4
View File
@@ -22,10 +22,11 @@ def test_video_exists(page_url):
# Returns an array of possible video url's from the page_url
def get_video_url(page_url, premium=False, user='', password='', video_password=''):
torrent_options = platformtools.torrent_client_installed(show_tuple=True)
if len(torrent_options) == 0:
from platformcode import elementum_download
elementum_download.download()
# torrent_options = platformtools.torrent_client_installed(show_tuple=True)
# if len(torrent_options) == 0:
# from platformcode import elementum_download
# if not elementum_download.download():
# return []
info('server=torrent, the url is the good')
if page_url.startswith('magnet:'):