Skip to content
This repository has been archived by the owner on Dec 28, 2019. It is now read-only.

Report which user is logged in on start #102

Open
IgnoredAmbience opened this issue Nov 7, 2019 · 1 comment
Open

Report which user is logged in on start #102

IgnoredAmbience opened this issue Nov 7, 2019 · 1 comment

Comments

@IgnoredAmbience
Copy link
Owner

IgnoredAmbience commented Nov 7, 2019

A number of recent bugs have been due to users incorrectly supplying cookies. Use the https://groups.yahoo.com/api/v1/user/emails endpoint to report currently logged in user.

@ROCKETEER5215
Copy link

ROCKETEER5215 commented Nov 9, 2019

I've come across some browser extensions that could help simplify the process of getting cookies.
Chrome
Firefox
By going to Yahoo Groups while signed in these extensions will let you export the cookies to a txt file that can be used with --cookie-file, but first you must add
#LWP-Cookies-2.0
to the first line of your file or you will get something like this:

"Python\lib\http\cookiejar.py", line 1896, in _really_load raise LoadError(msg)
http.cookiejar.LoadError: 'cookies.txt' does not look like a Set-Cookie3 (LWP) format file"

There is also an issue with def init_cookie_jar in yahoo.py it looks like the extensions export in the Netscape cookie format but they can still be loaded and work sometimes but since they are not in Perl::LWP format they can not be saved correctly so after using the cookie file once cookie_jar.save will just erase everything in your file except the first line which is #LWP-Cookies-2.0.
image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants