Skip to main content

CLI tool for downloading ebooks

Project description

grawlix

GitHub release GitHub top language License Donate using Ko-Fi

CLI ebook downloader

Supported services

grawlix currently supports downloading from the following sources:

Installation

From pypi (recommended)

pip install grawlix

From repo (unstable)

git clone https://github.com/jo1gi/grawlix.git
cd grawlix
python3 setup.py install

Authentication

Authentication can either be done with login (username and password) or cookies. Not all sources support both methods.

Login

Some sources require authentication, which can be done either with cli arguments or a config file.

Cli example

grawlix --username "user@example.com" --password "SuperSecretPassword" <url>

Config file example

[sources.name]
username = "user@example.com"
password = "SuperSecretPassword"

Config file should be placed in ~/.config/grawlix/grawlix.toml

Cookies

Some sources can be authenticated with Netscape cookie files. I use this extension to export my cookies from my browser.

Cookies can be placed in current dir as cookies.txt or be given with the --cookie argument.

Download books

To download a book run:

grawlix [options] <book url>

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

grawlix-0.2.1.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

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

grawlix-0.2.1-py3-none-any.whl (51.6 kB view details)

Uploaded Python 3

File details

Details for the file grawlix-0.2.1.tar.gz.

File metadata

  • Download URL: grawlix-0.2.1.tar.gz
  • Upload date:
  • Size: 40.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for grawlix-0.2.1.tar.gz
Algorithm Hash digest
SHA256 a5e1152cf97ac294331cff2e9369eef1868095543b30fe65425d047d2c421606
MD5 e0c47e167d15e53b4d924e2e64e6bf92
BLAKE2b-256 86417089681f04b5f2e8dfbc7bf887c5abe223b30b0c9d9be4425faeab2be523

See more details on using hashes here.

File details

Details for the file grawlix-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: grawlix-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 51.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for grawlix-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 cdafe79cd2a3d86bc75d365bb05352618fd0a75c64291d1d07fa3ef005d992c8
MD5 9d8d011af0e5562936a8fcc0ef8e7fc1
BLAKE2b-256 528cd0186de59225fa4b715381d4be026deaf1b02410a6fb8eaef92bd32a3d00

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