move lezhin to subdir
This commit is contained in:
parent
18b390d4f8
commit
fc883f2d11
27
README.md
27
README.md
|
@ -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 comic’s 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 service’s subdirectory.
|
||||
|
|
26
lezhin/readme.md
Normal file
26
lezhin/readme.md
Normal 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 comic’s 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
|
||||
```
|
Loading…
Reference in a new issue