~nova/accendo

accendo/README -rw-r--r-- 934 bytes
5a4ec67e — Novalinium Better options for configuration, refactored conf to top of file, more error checking, README 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Usage: accendo.sh POST_ID [TARGET_DIRECTORY]
This script downloads glowfic by ID or URL to TARGET_DIRECTORY, or ./POST_ID if the directory is not specified.

Example:
```
[~nova] $ which accendo.sh
/usr/local/accendo/accendo.sh
[~nova] $ pwd
/home/nova
[~nova] $ sh accendo.sh 1685
Retrieving page 1 ... Done!
Generating index ... Done!
Retrieving pages ... 
curl -K /usr/local/accendo/curl_parameters -o 1685.2.rp https://www.glowfic.com/posts/1685?per_page=100&page=2 
curl -K /usr/local/accendo/curl_parameters -o 1685.3.rp https://www.glowfic.com/posts/1685?per_page=100&page=3 
Done!
Verifying pages ...... Done!
Cleaning index ... Done!
Downloaded size: 488K
Completed retrieval of 1685 to /home/nova/1685!
0m0.008s 0m0.008s
0m0.112s 0m0.056s
[~nova] $ ls 1685
total 484
-rw-r--r-- 1 lin lin 166555 Jan 15 13:51 1685.1.rp
-rw-r--r-- 1 lin lin 161548 Jan 15 13:51 1685.2.rp
-rw-r--r-- 1 lin lin 161035 Jan 15 13:51 1685.3.rp
```