mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 10:33:38 +00:00
Merge pull request #466 from JackDandy/feature/ChangeTraktUrl
Change Trakt url to fix baseline uses (e.g. add from trending)
This commit is contained in:
commit
1333b92344
2 changed files with 2 additions and 1 deletions
|
@ -99,6 +99,7 @@
|
||||||
* Change pushbullet from urllib2 to requests
|
* Change pushbullet from urllib2 to requests
|
||||||
* Change to make pushbullet error messages clearer
|
* Change to make pushbullet error messages clearer
|
||||||
* Change pyNMA use of urllib to requests (ref:hacks.txt)
|
* Change pyNMA use of urllib to requests (ref:hacks.txt)
|
||||||
|
* Change Trakt url to fix baseline uses (e.g. add from trending)
|
||||||
|
|
||||||
[develop changelog]
|
[develop changelog]
|
||||||
* Update Requests library 2.7.0 (ab1f493) to 2.7.0 (8b5e457)
|
* 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)
|
method = method.replace("%API%", api)
|
||||||
|
|
||||||
# make the full url
|
# 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
|
# take the URL params and make a json object out of them
|
||||||
encoded_data = json.JSONEncoder().encode(data)
|
encoded_data = json.JSONEncoder().encode(data)
|
||||||
|
|
Loading…
Reference in a new issue