by bobbye12345 · 7y ago · 0 comments
hard coded some data into the yahoo.py file :
cookie_Y = '...'
cookie_T = '...'
and later assigning them :
args.cookie_y = cookie_Y
args.cookie_t = cookie_T
before calling the function YahooGroupsAPIand using my username / password
getting these error messages :
logging in...
Exception raised on uri: https://groups.yahoo.com/api/v1/groups/alesis-ion/messages {"ygError":{"hostname":"gapi1.grp.bf1.yahoo.com","httpStatus":500,"errorMessage":"Internal error: UDB Failed","errorCode":1001}} ERROR: Couldn't download message; 403 Client Error: Forbidden for url: https://groups.yahoo.com/api/v1/groups/alesis-ion/messages Exception raised on uri: https://groups.yahoo.com/api/v2/groups/alesis-ion/files {"ygError":{"hostname":"gapi15.grp.bf1.yahoo.com","httpStatus":500,"errorMessage":"Internal error: UDB Failed","errorCode":1001}} Traceback (most recent call last): File "yahoo.py", line 485, in <module> archive_files(yga) File "yahoo.py", line 154, in archive_files file_json = yga.files() File "c:\Users\ITD\Documents\Python Scripts\yahoo groups 3\yahoogroupsapi.py", line 96, in get_json raise e requests.exceptions.HTTPError: 403 Client Error: Forbidden for url: https://groups.yahoo.com/api/v2/groups/alesis-ion/files
tried it on another group, same result.
Has someone encountered these messages ?
No comments yet.