refactor: get_magnet to get_download_link

Rename scraper method get_magnet -> get_download_link in monkrus, rutracker and uztracker. Update downloader code to call .get_download_link and use the .is_magnet flag on tracker objects (replace dict access). Switch direct_download package imports to absolute paths and perform a small import reorder in direct_download/utils.py. These changes unify the download API and adapt call sites to the new tracker interface.
This commit is contained in:
Vxrtrauter
2026-03-21 02:03:49 +01:00
parent 616552063d
commit 9e7607dd36
6 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
from utils.logging.logs import consoleLog
from urllib.parse import urlparse, unquote
from utils.logging.logs import consoleLog
from typing import Optional
import requests
import os