diff --git a/CHANGES.md b/CHANGES.md index 44ff83c0..34468678 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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) diff --git a/lib/trakt/__init__.py b/lib/trakt/__init__.py index 255d0f12..8fdc70e4 100644 --- a/lib/trakt/__init__.py +++ b/lib/trakt/__init__.py @@ -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)