Enlaces de Emergencia

Adaptación de canales:
- Mejortorrent
- Mejortorrent1
This commit is contained in:
Kingbox
2018-11-21 18:49:42 +01:00
parent fc04c143ec
commit eaa2339c16
4 changed files with 172 additions and 47 deletions
+1 -1
View File
@@ -801,7 +801,7 @@ def caching_torrents(url, torrents_path=None, timeout=10, lookup=False, data_tor
torrents_path += '.torrent' #path para dejar el .torrent
torrents_path_encode = filetools.encode(torrents_path) #encode utf-8 del path
if url.endswith(".rar"): #No es un archivo .torrent
if url.endswith(".rar") or url.startswith("magnet:"): #No es un archivo .torrent
logger.error('No es un archivo Torrent: ' + url)
torrents_path = ''
if data_torrent: