Skip to main content

Downloader for r/GoneWithTheWind

Project description

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

  1. Open a terminal and navigate to an empty folder of your choice.
  2. Give gwa-down url(s) to download (eg. gwa-down --url [URL]). See CLI options section for more info.
  3. 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 open site_noserver/index.html in a browser.

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:

  1. A terminal
  2. 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).

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

gwa_downloader-0.0.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gwa_downloader-0.0.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file gwa_downloader-0.0.2.tar.gz.

File metadata

  • Download URL: gwa_downloader-0.0.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.11.0 HTTPX/0.28.1

File hashes

Hashes for gwa_downloader-0.0.2.tar.gz
Algorithm Hash digest
SHA256 60e94eb6d50d014fb7a0ed3318bcb6fa80f7f515f8f8b5046773b9b0bc4be50c
MD5 c48ffe4e112473e53c63fe45ff369954
BLAKE2b-256 760d9c005b0e6ea8a75a8c61fe492550ffceb2e359aeb2d9b3a7ba3ccba1b7d3

See more details on using hashes here.

File details

Details for the file gwa_downloader-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: gwa_downloader-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Hatch/1.16.5 cpython/3.11.0 HTTPX/0.28.1

File hashes

Hashes for gwa_downloader-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e77722d1dbdc234abcc1773b87706eebfe6ebcdd48d3412c8f35537629ee45f
MD5 0c7b8300464a60eab78e0ba13ca37c10
BLAKE2b-256 a23845573abd6abb185d074ca5efdc4568e47134d2a01b1648fa2bdb9da3b362

See more details on using hashes here.

Supported by

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