Refactor download management: remove old code and implement new structure for aria2p integration

This commit is contained in:
Vxrtrauter
2025-07-24 02:17:50 +02:00
parent 4052e14f41
commit b3f72406e0
4 changed files with 31 additions and 68 deletions
+19
View File
@@ -0,0 +1,19 @@
from .aria2p_server import run_aria2p
import aria2p
import subprocess
import os
# from .scraper import uri
def start_client():
global aria2
aria2 = run_aria2p()
def add_magnet(uri):
aria2.add_magnet(uri)
def terminate():
return