mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +00:00
Change Trakt url to fix baseline uses (e.g. add from trending)
This commit is contained in:
parent
456e6de634
commit
e7803c1499
2 changed files with 2 additions and 1 deletions
|
@ -99,6 +99,7 @@
|
|||
* Change pushbullet from urllib2 to requests
|
||||
* Change to make pushbullet error messages clearer
|
||||
* Change pyNMA use of urllib to requests (ref:hacks.txt)
|
||||
* Change Trakt url to fix baseline uses (e.g. add from trending)
|
||||
|
||||
[develop changelog]
|
||||
* Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457)
|
||||
|
|
|
@ -30,7 +30,7 @@ def TraktCall(method, api, username=None, password=None, data={}):
|
|||
method = method.replace("%API%", api)
|
||||
|
||||
# make the full url
|
||||
url = 'https://api.trakt.tv/' + method
|
||||
url = 'https://api-v2launch.trakt.tv/' + method
|
||||
|
||||
# take the URL params and make a json object out of them
|
||||
encoded_data = json.JSONEncoder().encode(data)
|
||||
|
|
Loading…
Reference in a new issue