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-downloader 0.0.2
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_downloader-0.0.2.tar.gz | 2.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| gwa_downloader-0.0.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 6.7 kB
Release files / gwa_downloader-0.0.2.tar.gz
| Download URL | gwa_downloader-0.0.2.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
60e94eb6d50d014fb7a0ed3318bcb6fa80f7f515f8f8b5046773b9b0bc4be50c
|
|
BLAKE2b-256 checksum How to use checksums |
760d9c005b0e6ea8a75a8c61fe492550ffceb2e359aeb2d9b3a7ba3ccba1b7d3
|
| 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_downloader-0.0.2-py3-none-any.whl
| Download URL | gwa_downloader-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e77722d1dbdc234abcc1773b87706eebfe6ebcdd48d3412c8f35537629ee45f
|
|
BLAKE2b-256 checksum How to use checksums |
a23845573abd6abb185d074ca5efdc4568e47134d2a01b1648fa2bdb9da3b362
|
| 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
|