Skip to main content

GoogleGroup Exporter - Unlock your mailing list

https://img.shields.io/pypi/v/googlegroupexporter.svg https://img.shields.io/pypi/dm/googlegroupexporter.svg

GoogleGroup Exporter is an extensible tool for retrieving and analysing your mailing list content.

Features

  • Dump all your messages into a mbox file so you can explore the content using email clients.

  • Export all your topics with title, author, date and url to a csv file so you can easily explore it on a spreadsheet.

  • Support extraction of private groups using your browser’s cookies.

  • Download all content in parallel.

  • Transparently cache all requests so you can inexpensively retry or process the content in different ways.

  • Offers an easy extension API so you write your own scripts.

Installation and Usage

Install Python 3.5 or greater and then simply:

pip install googlegroupexporter

Then execute the program:

ggexport my-public-group

By default, ggexport will generate a my-public-group.mbox file with all the messages. Then you can open it with you preferred email client.

Exporting a Private Group

To export a private group you need to inform your cookie header string to ggexport.

To retrieve the cookie header on Google Chrome:

  1. Login into you Google Account;

  2. Visit your GoogleGroup page, for example:

    https://groups.google.com/forum/#!forum/my-private-group
  3. Then inspect the page with Chrome’s Developer Tool;

  4. Go to Network;

  5. Select a request to the domain groups.google.com;

  6. Select Headers;

  7. Search for Request Headers;

  8. Look for the Cookie key;

  9. Copy the cookie header value string;

Then run:

ggexport my-private-group --cookies "COOKIE-HEADER-STRING-COPIED-FROM-MY-BROWSER"

Listing your group topics

To create a csv listing all your group’s topics along with their urls, authors, dates and number of messages, run:

ggexport my-public-group --mode csv

How to contribute

Fork this repository, checkout your fork, then:

python -m venv .gge
source .gge/bin/activate
python setup.py develop

Change what you want, then run the tests:

python setup.py test

To run your developed code you can use the command ggexport or run the module python -m googlegroupexporter.

When everything works, submit a pull request.

License

MIT License

Metadata

Release files for googlegroupexporter 1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for googlegroupexporter 1.0
File Size Uploaded Provenance
googlegroupexporter-1.0.tar.gz 7.9 kB Without provenance Details

Release files / googlegroupexporter-1.0.tar.gz

Download URL googlegroupexporter-1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bfd2c41ee30b041f5f3f61123c700cb3f15b2928253a0057a4f67b577a4ec154
BLAKE2b-256 checksum
How to use checksums
bfa1f3abfe71c1e3086a902fe2cadbf0949644281176363b93c2ba7123154fb8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for googlegroupexporter 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page