cheatsheet:gallery-dl
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| cheatsheet:gallery-dl [2026/05/08 20:11] – melo | cheatsheet:gallery-dl [2026/05/17 18:38] (current) – melo | ||
|---|---|---|---|
| Line 23: | Line 23: | ||
| # (strip all text but LJ links) | # (strip all text but LJ links) | ||
| gallery-dl -i i.txt | gallery-dl -i i.txt | ||
| + | |||
| + | # do this twice to get final redirected links | ||
| + | # final file is 3.txt, run `-i` on that | ||
| + | wget -O /dev/null $(cat i.txt) 2>&1 | grep -w ' | ||
| + | wget -O /dev/null $(cat 2.txt) 2>&1 | grep -w ' | ||
| + | gallery-dl -i 3.txt | ||
| + | </ | ||
| + | |||
| + | ==== livejournal postimg icon embed rip ==== | ||
| + | |||
| + | <code bash> | ||
| + | gallery-dl -g " | ||
| + | # (strip all text but LJ links) | ||
| + | gallery-dl -i i.txt | ||
| + | |||
| + | # creates new file | ||
| + | sed -e ' | ||
| + | # remove double newlines | ||
| + | awk 'NF > 0 {blank=0} NF == 0 {blank++} blank < 1' i2.txt > i3.txt | ||
| # do this twice to get final redirected links | # do this twice to get final redirected links | ||
cheatsheet/gallery-dl.1778271101.txt.gz · Last modified: by melo
