https://github.com/allendema/archeddit
Save posts from Reddit locally. Forever.
https://github.com/allendema/archeddit
archive archiver beautifulsoup4 bs4 downloader json python reddit requests subreddits teddit
Last synced: 4 days ago
JSON representation
Save posts from Reddit locally. Forever.
- Host: GitHub
- URL: https://github.com/allendema/archeddit
- Owner: allendema
- License: gpl-3.0
- Created: 2021-02-21T22:41:08.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-02-26T22:12:52.000Z (over 4 years ago)
- Last Synced: 2025-01-12T08:33:37.741Z (9 months ago)
- Topics: archive, archiver, beautifulsoup4, bs4, downloader, json, python, reddit, requests, subreddits, teddit
- Language: Python
- Homepage:
- Size: 24.4 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# archeddit
Save posts from Reddit locally. Forever.This Python code uses the APIs from [Teddit](https://codeberg.org/teddit/teddit/) instances to get the media URLs and Titles.
It then uses the URL it found to download the media, which are hosted by Reddit Inc.
## Saving this locally
```bash
$ git clone https://github.com/allendema/archeddit.git
$ pip3 install -r requirements.txt
```## Run it
```bash
$ cd archeddit # Changing to this directory.
$ chmod +x archeddit.py # Make the script executable.
$ ./archeddit.py # Running the script.
```
## Use it
Just enter one public Subreddit.
It saves the media in a Folder with the name of given sub.Use cases include downloading top [/r/wallpapers](https://teddit.net/r/wallpapers/) or [/r/pizza](https://teddit.net/r/pizza) weekly posts.
## Heads Up
Made by exploring Python. Inspired by similiar programms. Use at own risk.
Teddit instances are choosen randomly to better load-balance.
Keep in mind that they are community run.## Use it to archive important things, be polite and cause no harm.
## Bonus Information
Depending on changes Reddit Inc. makes, they might or might not block your IP.Has not happend 'till now.
Soon on [Codeberg.org](https://codeberg.org/explore/) too.
Allen 2021
[](https://github.com/allendema/archeddit/blob/main/LICENSE)
[](https://github.com/allendema/archeddit/commits/main)
[](https://github.com/allendema/archeddit/blob/main/archeddit.py)