Commit 451aa807 authored by echel0n's avatar echel0n
Browse files

Refactored API url

parent a915b3c3
# Changelog
- * 5b32791 - 2017-12-15: Added new code for converting magnet links to torrent files via SR API
- * f41616c - 2017-12-15: Refactored API url
- * a915b3c - 2017-12-15: Added new code for converting magnet links to torrent files via SR API
- * bb8a5b8 - 2017-12-15: Fix unicode issues for Newpct torrent provider
- * c0f1698 - 2017-12-15: Added custom url setting to torrent9 provider
- * 032e9ed - 2017-12-15: Release v9.2.64
......
......@@ -78,4 +78,4 @@ class API(object):
return self._request('GET', query)
def magnet2torrent(self, magnet):
return self._request('POST', 'v1/mag2tor', data=dict({'magnet':magnet}))
return self._request('POST', 'v1/torrents/mag2tor', data=dict({'magnet':magnet}))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment