r/GoneWildAudio downloader
A python (PyPi) package for downloading posts from r/GoneWildAudio and creating an offline site for exploring/listening.
Installation
It's recommended to install via pipx (pipx install gwa-down). If you don't want to get pipx, just use pip.
NOTE: If you still have no clue what to do, see the Installation for noobs section at the end xD
Basic usage
- Open a terminal and navigate to an empty folder of your choice.
- Give
gwa-downurl(s) to download (eg.gwa-down --url [URL]). SeeCLI optionssection for more info. - This will scrape the post metadata and download any media files for the urls. Afterwards, the folder contain an index.html file and you can serve it, eg. using
python3 -m http.server.- Additionally a
site_noserver/folder will be created which does not need a server, just opensite_noserver/index.htmlin a browser.
- Additionally a
CLI Options
# url selection
--url # url (or id) to download
--file
--bookmarks # [chrome|brave|firefox]
--browser-profile # default=Default
# feed selection (upcoming)
--feed # [top|best|hot|new]
--sort # [all|year|month]
--limit
# managing options
--tag # append, user tags added to handled urls (will overwrite existing tags)
--update-comments-only # skips download and
# other options
--cookies # default=cookies.txt
--cookies-from-browser # uses yt-dlp to save the cookies
# dev other options
--no-download
--no-site
--no-site-noserver
Other
Upcoming features
- ability to fetch posts by feed
- ability to rescrape only comments/upvotes
- site that doesn't require a server
Instalation for noobs
To use this package, you need:
- A terminal
- Python
If needed, find a tutorial on how to use a terminal and install python.
Then, you should install the gwa-down package using pip install gwa-down. You can ensure the installation worked by typing gwa-down --version into the terminal (it should print the version, else it failed).
Metadata
Release files for gwa-down 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| gwa_down-0.0.1.tar.gz | 2.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gwa_down-0.0.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.8 kB
Release files / gwa_down-0.0.1.tar.gz
| Download URL | gwa_down-0.0.1.tar.gz |
|---|---|
| Size | 2.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a92c912725194282385fb90425115b25a679e03284af6d385331061f94c3f118
|
|
BLAKE2b-256 checksum How to use checksums |
c31d8d999a6a8d47421307a93332610f11fdc65ecd91db8ca1757df27598b281
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.11.0 HTTPX/0.28.1
|
Release files / gwa_down-0.0.1-py3-none-any.whl
| Download URL | gwa_down-0.0.1-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
72599b4e2bb8e7a759bd0fbe048fd59986cfa9e1df35e82c67bee7f03f2eb3f5
|
|
BLAKE2b-256 checksum How to use checksums |
87d8f318700896ae17144d6a27c789879e9b27d90ee2abc1fa7973fdac689910
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Hatch/1.16.5 cpython/3.11.0 HTTPX/0.28.1
|