Hacker Newsnew | past | comments | ask | show | jobs | submit | logological's commentslogin

Doesn't work for me. The file scraper crashes with the default Firefox Selenium driver, and with the Chrome driver it immediately quits, falsely reporting that it successfully downloaded all the files.


Does that script even work for you? When I run it, I'm prompted for my Yahoo! password, but after typing it in the program just spits out a "Login failed" message. The problem has been reported on the issue tracker but there's been no activity on it since February.


You need to add some parameters for the Yahoo authentication cookie values. -tc and -ty should be set to the cookie values from your browser, after logging into Yahoo.

It also needs some try/except handling to be added for all the cases where Yahoo fails to provide the requested asset.

Once you sort those things out, it works pretty well.


Could you please explain what this means and how to do it? This is not documented on the project page, and I'm having the same issue as the poster above.

login.yahoo.com creates 2 cookies. The program's help identifies two flags called -ct and -cy which I assume you're referring to. Am I to understand that to properly run the program, the command should be entered as so:

./yahoo.py -ct %cookieOneContent -cy %cookieTwoContent -u username -p password groupname

I don't know which cookie goes where so I tried it both ways, and both with and without the -u username and -p password flags; none of them worked, only returning HTTP Errors.


There should be at least two cookies, one called T and the other Y, on yahoo.com, the content of these looks like a long query string, "z=something&a=something&etc". Use T in -ct and Y in -cy, like -ct "z=something&etc" -cy "v=something&etc"

Sorry this is so tricky.


-u and -p don't seem to be needed anymore? The script complained so I dropped them. Also, I used the "F" cookie for -ce.

So: ./yahoo.py -ct "T cookie"-cy "Y cookie" -ce "F cookie" "group name"


Ah, I see. It wasn't under login.yahoo.com then; the cookies I was looking for were under "yahoo.com locally stored data." This worked. Thank you.

e: actually, no dice. Got it to work on one group and then never again. A couple of the groups I've tried can retrieve messages, but never files or attachments. It always gives an exception when it gets to the files.


I'm offering a service that will extract all the yahoo group data from both private/public yahoo groups data for a fee.

My service: Includes - Public groups backup - Private groups extraction (will require admin credentials for the account) - Extraction formats include excel, csv and html

Not Included in the backup - Importing to new platform - Data Translation/Data cleaning - Additional post backup requests

Total cost: - Full backup $500

Payment details: - $250 for the first installment. - $250 after the last sample excel file is sent

After the first payment I will start work. Once I have completed the data backup, I will send a excel file with 10% of the final backup file as verification of my work. I will send the file once the final $250 payment is complete.

If your interested, please contact me at yahoogroupsbackup@gmail.com

- oran c


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: