Skip to main content

Archive your activity on Stack Exchange sites

Project description

Stack Exchange Activity Archiver is a small program to scrape and save your own questions, answers, and comments on Stack Exchange sites like Stack Overflow. Such an archive provides a backup in case your writing is deleted, and allows you to search your writing with a text editor. The items are collected into a JSON file. Chat-room activity is not collected.

To run the program, install it with pip install stack_archiver and then use a command like

python3 -m stack_archiver ~/my_se_backup.json stackoverflow:1451346,softwarerecs:29171,stats:14076

Say python3 -m stack_archiver --help for command-line options. The program doesn’t require authentication. Run the program periodically as a cron job, or as part of your backup process, to keep the archive up to date.

License

This program is copyright 2021 Kodi B. Arfer.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stack_archiver-0.1.3.tar.gz (3.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page