mirror of
https://github.com/Arrowar/StreamingCommunity.git
synced 2025-06-06 19:45:24 +00:00
25 lines
375 B
Python
25 lines
375 B
Python
# 23.06.24
|
|
|
|
|
|
# Fix import
|
|
import time
|
|
import sys
|
|
import os
|
|
src_path = os.path.abspath(os.path.join(os.path.dirname(__file__), '..'))
|
|
sys.path.append(src_path)
|
|
|
|
|
|
|
|
# Import
|
|
from Src.Lib.Downloader import TOR_downloader
|
|
|
|
|
|
|
|
# Test
|
|
manager = TOR_downloader()
|
|
|
|
magnet_link = "magnet:?x"
|
|
manager.add_magnet_link(magnet_link)
|
|
manager.start_download()
|
|
manager.move_downloaded_files()
|