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_down-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

gwa_down-0.0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file gwa_down-0.0.1.tar.gz.

File metadata

  • Download URL: gwa_down-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 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_down-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a92c912725194282385fb90425115b25a679e03284af6d385331061f94c3f118
MD5 171fad78409ed11c5dd9e1f23454e68d
BLAKE2b-256 c31d8d999a6a8d47421307a93332610f11fdc65ecd91db8ca1757df27598b281

See more details on using hashes here.

File details

Details for the file gwa_down-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: gwa_down-0.0.1-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_down-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 72599b4e2bb8e7a759bd0fbe048fd59986cfa9e1df35e82c67bee7f03f2eb3f5
MD5 39778a7be00f22411bbc5c61d855ce39
BLAKE2b-256 87d8f318700896ae17144d6a27c789879e9b27d90ee2abc1fa7973fdac689910

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