Updated torrents-csv URL
The previous url `torrents-csv.ml` seems to redirect to malware now.
This commit is contained in:
parent
efe75bec7e
commit
bd2119b4e3
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ piratebay: 3.2
|
|||
solidtorrents: 2.1
|
||||
torlock: 2.22
|
||||
torrentproject: 1.2
|
||||
torrentscsv: 1.2
|
||||
torrentscsv: 1.3
|
||||
|
|
|
|||
Loading…
Reference in New Issue