Skip to content

Commit

Permalink
Updated torrents-csv URL
Browse files Browse the repository at this point in the history
The previous url `torrents-csv.ml` seems to redirect to malware now.
  • Loading branch information
ducalex authored and xavier2k6 committed Jun 27, 2024
1 parent efe75be commit bd2119b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions nova3/engines/torrentscsv.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#VERSION: 1.2
#VERSION: 1.3
# AUTHORS: Dessalines

# Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -33,7 +33,7 @@


class torrentscsv(object):
url = 'https://torrents-csv.ml'
url = 'https://torrents-csv.com'
name = 'torrents-csv'
supported_categories = {'all': ''}

Expand Down Expand Up @@ -61,7 +61,7 @@ def search(self, what, cat='all'):
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",
Expand Down
2 changes: 1 addition & 1 deletion nova3/engines/versions.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ piratebay: 3.2
solidtorrents: 2.1
torlock: 2.22
torrentproject: 1.2
torrentscsv: 1.2
torrentscsv: 1.3

0 comments on commit bd2119b

Please sign in to comment.