1
0
Fork 0
mirror of https://github.com/kemayo/leech synced 2025-12-06 16:33:16 +01:00

Change idiom 'python3 leech.py' -> 'poetry run leech'

See:  https://github.com/kemayo/leech/issues/103
This commit is contained in:
ClaasJG 2025-10-06 05:20:42 +02:00 committed by David Lynch
parent a71ac62f8b
commit a5ca274637

View file

@ -12,7 +12,6 @@ My recommended setup process is:
$ pip install poetry $ pip install poetry
$ poetry install $ poetry install
$ poetry shell
...adjust as needed. Just make sure the dependencies from `pyproject.toml` get installed somehow. ...adjust as needed. Just make sure the dependencies from `pyproject.toml` get installed somehow.
@ -21,21 +20,21 @@ Usage
Basic Basic
$ python3 leech.py [[URL]] $ poetry run leech [[URL]]
A new file will appear named `Title of the Story.epub`. A new file will appear named `Title of the Story.epub`.
This is equivalent to the slightly longer This is equivalent to the slightly longer
$ python3 leech.py download [[URL]] $ poetry run leech download [[URL]]
Flushing the cache Flushing the cache
$ python3 leech.py flush $ poetry run leech flush
Learn about other options Learn about other options
$ python3 leech.py --help $ poetry run leech --help
If you want to put an ePub on a Kindle you'll have to either use Amazon's send-to-kindle tools or convert it. For the latter I'd recommend [Calibre](http://calibre-ebook.com/), though you could also try using [kindlegen](http://www.amazon.com/gp/feature.html?docId=1000765211) directly. If you want to put an ePub on a Kindle you'll have to either use Amazon's send-to-kindle tools or convert it. For the latter I'd recommend [Calibre](http://calibre-ebook.com/), though you could also try using [kindlegen](http://www.amazon.com/gp/feature.html?docId=1000765211) directly.