mirror of
https://github.com/KeksPirates/SoftwareManager.git
synced 2026-08-04 09:59:41 +02:00
Refactor download management: remove old code and implement new structure for aria2p integration
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
from ui.clinterface import asciititle;
|
||||
from core.uztracker_scraper import scrape_uztracker;
|
||||
from core.uztracker_scraper import scrape_uztracker
|
||||
from core.uztracker_scraper import get_magnet_link
|
||||
from core.downloading.download import start_client
|
||||
from core.downloading.download import add_magnet
|
||||
import os
|
||||
|
||||
|
||||
@@ -52,5 +55,10 @@ if __name__ == "__main__":
|
||||
results = search()
|
||||
selected = select_result(results)
|
||||
print(selected)
|
||||
uri = get_magnet_link(selected)
|
||||
start_client()
|
||||
add_magnet(uri)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user