diff --git a/python/seed_armbian_torrents.py b/python/seed_armbian_torrents.py index da2c15d..cb72390 100755 --- a/python/seed_armbian_torrents.py +++ b/python/seed_armbian_torrents.py @@ -39,19 +39,11 @@ from docopt import docopt def add_torrents(args: dict): - url = "https://mirrors.jevincanders.net/armbian/dl/" - response = requests.get(url, timeout=60) - soup = BeautifulSoup(response.content, "html.parser") - links = soup.find_all("a") - - archive_dir_urls = [] - for link in links: - if ( - link.text.endswith("/") - and not link.text.startswith("_") - and not link.text == "torrent/" - ): - archive_dir_urls.append(url + link.text + "archive/") + archive_dir_urls = [ + "https://mirrors.jevincanders.net/armbian/dl/orangepi5-plus/archive/", + "https://mirrors.jevincanders.net/armbian/dl/rockpro64/archive/", + "https://mirrors.jevincanders.net/armbian/dl/rpi4b/archive/", + ] torrent_urls = [] for url in archive_dir_urls: