Updated torrents-csv URL

The previous url `torrents-csv.ml` seems to redirect to malware now.
This commit is contained in:
Alex Duchesne 2024-06-23 14:30:00 -04:00 committed by xavier2k6
parent efe75bec7e
commit bd2119b4e3
2 changed files with 4 additions and 4 deletions

View File

@ -1,4 +1,4 @@
#VERSION: 1.2
#VERSION: 1.3
# AUTHORS: Dessalines
# Redistribution and use in source and binary forms, with or without
@ -33,7 +33,7 @@ from helpers import retrieve_url
class torrentscsv(object):
url = 'https://torrents-csv.ml'
url = 'https://torrents-csv.com'
name = 'torrents-csv'
supported_categories = {'all': ''}
@ -61,7 +61,7 @@ class torrentscsv(object):
response_json = json.loads(response)
# parse results
for result in response_json:
for result in response_json["torrents"]:
res = {'link': self.download_link(result),
'name': result['name'],
'size': str(result['size_bytes']) + " B",

View File

@ -5,4 +5,4 @@ piratebay: 3.2
solidtorrents: 2.1
torlock: 2.22
torrentproject: 1.2
torrentscsv: 1.2
torrentscsv: 1.3