Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated torrents-csv URL #276

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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