Glowfic Scraper and Converter
5a4ec67e — Novalinium 1 year, 6 days ago
Better options for configuration, refactored conf to top of file, more error checking, README
3786a41e — Novalinium 1 year, 6 days ago
Created cUrl option file
d14759f2 — Novalinium 1 year, 7 days ago
Adjust regex for 2+ digit page counts

refs

master
browse log

clone

read-only
https://git.sr.ht/~nova/accendo
read/write
git@git.sr.ht:~nova/accendo

You can also use your local clone with git send-email.

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
```