I've started getting this error recently: TypeError: get_cookies_for_url() takes exactly 3 arguments (2 given)
Sure enough, from api/networkkit.py:
def CookiesForURL(self, url): """ Returns the cookies associated with the given URL. """ cookie_jar = self._context.cookie_jar cookies = self._core.networking.get_cookies_for_url(url, cookie_jar=cookie_jar) if cookies: return cookies elif cookie_jar: return self._core.networking.get_cookies_for_url(url)
def get_cookies_for_url(self, url, cookie_jar): if cookie_jar == None: cookie_jar = self._cookie_jar ...
cookie_jar argument is required and the calling function doesn't use it .
Searching the forum has given me two really old posts with the same error message:
I haven't saved the previous Framework folder in order to compare changes, right now the one I have is called
Plug-ins-1bf240a65. If nothing has changed in these functions above and the code has been as such since long time ago, there must have been something that has switched the code flow of my channel into the other broken if-branch (elif)...