View Single Post
Old 21st October 2019
Lives for gear
Mastropiero's Avatar

Full backup of Yahoo! Groups including files

To anyone who might be interested, I have successfully backed my groups up.

Not an easy task, though. I've tried lots of scripts and online tools without success but finally could find a solution.

This worked for me:

Step 1: install Python 2.7. Note: the 3.X branch of Python won't work.

Step 2: from a command-line console (CMD in case of Windows, bash/sh for Mac/Linux users), type: pip install requests

Step 2b: on some Windows machines, the "pip" command could be missing. In that case, download and execute the 'get-pip' script and then repeat Step 2.

Step 3: Go to and download the ZIP file (press on 'Clone or download'). Unzip the file to a folder.

Step 4: Use your favourite plain text editor (Notepad is ok) and open '' file inside the folder you unzipped the file to. Search for lines 8 and 9 and replace 'https' by 'http'.

Step 5: On the same file, search for line 'self.s.headers = {'Referer': self.BASE_URI}' and just after, add this new line: self.s.verify = False. Please note that it's case sensitive and indentation must be exactly like the previous line (exactly 8 spaces). Save the file.

Step 6: Login to your Yahoo account. Google Chrome browser is recommended.

Step 7: On Chrome, go to Settings, then Site Settings -> Cookies and site data -> All cookies and site data. Search for ''. You will find two cookies named 'T' and 'Y'. Copy the content field of both cookies to a notepad or tool of your preference.

Step 8: go to the command-line window and get into the folder you unzipped the script. Type the following command:

Code: -u [email protected] -p yourpassword -ct "content of T cookie you copied previously" -cy "content of Y cookie you copied previously" group_id
In case of Mac users, add ./ at the beginning of the line.


Code: -u [email protected] -p MyPassWord -ct "z=7.vqdB7SXvdBXVMKFSptUrxMzI2TwY1NzNON09PNU4w&a=QAE&sk=DAAeiQAeu.f9ce&ks=EAA92W6q1KelIMgPQfTM1UrpQ--~G&kt=EAASp2FIa.j9n_ctDiprxOZuA--~I&ku=FAAItY9g5PGYPsF8PVYYPcxGMz67ZKbug4pOFkyHXiicIUXvTnfj6W12_JzmqmTOn_ZIW_1kx2jgEJc42hJrDnM270bn80yE9FCoDAgRPiEI_jDAs8xTMumJ1PA6AQq3wmixM3U9ANpi.JD56NZd4mYalwcDFC4Fie5y5oBBfu8sTI-~A&d=bnMBeWFob28BZwFKQ0lXTTRZS1hVWUNaQUJTSEM1S1EyVEZDTQFzbAFORFV4T0FFeU1EUTVNRGc0TWprMwFhAVFBRQFhYwFBTXB5YWVoUQFsYXQBNy52cWRCAWNzAQFzYwFkZXNrdG9wX3dlYgFmcwFHajhEUmtSZHFPWEgBenoBNy52cWRCQTdF&af=QkNBQkJCJnRzPTE1NzE0ODc2NzUmcHM9RGYzRjV4ZkpGRmZuMy5JWFdiWUdnQS0t" -cy "v=1&n=4aa6lmgi52p3o&l=m0h0kvvv/o&p=m2bvves00000000&ig=1ipfl&iz=08022&r=9b&intl=es" CZ-VZ-Files
The script will create a subfolder using the name of the group and will download a full hierarchy containing e-mail messages, attachments, photos, files, etc.