move lezhin to subdir

This commit is contained in:
Alexandra Dunn 2020-06-27 10:02:16 -07:00
parent 18b390d4f8
commit fc883f2d11
4 changed files with 28 additions and 25 deletions

View file

@ -1,33 +1,10 @@
# comic archiver
this is a script for creating personal archives of comics purchased from lezhin.
this is a script for creating personal archives of comics
do not use this to download comics you do not own. do not share downloaded
comics. support the artists.
# usage
the script authenticates with lezhin using a pre-generated cookies file.
currently twitter is the only authentication method, but modifying
`auth_twitter.js` should be straightforward.
```
LEZHIN_USER=<twitter username> LEZHIN_PASS=<twitter password> node auth_twitter.js
```
this will write to `cookies.json`, which is read by `index.js`.
specify the comic to download using the comics slug, which is what appears in
the URL (e.g., `https://www.lezhin.com/en/comic/blooming_en`):
```
LEZHIN_COMIC=blooming_en node index.js
```
image files will be written to `downloads/blooming_en`.
individual chapters can be downloaded with the `LEZHIN_NO` variable:
```
LEZHIN_NO=70 LEZHIN_COMIC=blooming_en node index.js
```
see the instructions in each services subdirectory.

26
lezhin/readme.md Normal file
View file

@ -0,0 +1,26 @@
# lezhin
the script authenticates with lezhin using a pre-generated cookies file.
currently twitter is the only authentication method, but modifying
`auth/twitter.js` should be straightforward.
```
LEZHIN_USER=<twitter username> LEZHIN_PASS=<twitter password> node auth/twitter.js
```
this will write to `cookies.json`, which is read by `download.js`.
specify the comic to download using the comics slug, which is what appears in
the URL (e.g., `https://www.lezhin.com/en/comic/blooming_en`):
```
LEZHIN_COMIC=blooming_en node download.js
```
image files will be written to `downloads/blooming_en`.
individual chapters can be downloaded with the `LEZHIN_NO` variable:
```
LEZHIN_NO=70 LEZHIN_COMIC=blooming_en node download.js
```