meta

what's the meta about say it ditto dot net?

User Tools

Site Tools


cheatsheet:gallery-dl

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
cheatsheet:gallery-dl [2025/08/17 12:51] – ↷ Page moved from terminal:gallery-dl to cheatsheet:gallery-dl melocheatsheet:gallery-dl [2026/07/11 23:21] (current) melo
Line 3: Line 3:
 ==== mangadex chapter extract ==== ==== mangadex chapter extract ====
  
-<code bash>gallery-dl -c /home/kat/gallery-dl.conf -o "lang=en" --chapter-range '141-151' https://mangadex.org</code>+''--chapter-range'' is optional 
 + 
 +<code bash>gallery-dl -o "lang=en" --chapter-range '141-151' https://mangadex.org</code>
  
 ==== instagram rip ==== ==== instagram rip ====
  
-<code bash>gallery-dl -c /home/kat/gallery-dl.conf https://instagram.com/p/</code>+log into instagram on firefox for this to work 
 + 
 +<code bash>gallery-dl https://instagram.com/ --cookies-from-browser firefox</code>
  
 ==== photobucket embed rip ==== ==== photobucket embed rip ====
  
 <code bash> <code bash>
-gallery-dl -g "r:https://x.livejournal.com/x.html" > i.txt+gallery-dl -g "r:https://example.livejournal.com/12345.html" > i.txt
 # (strip all text but LJ links) # (strip all text but LJ links)
 gallery-dl -i i.txt gallery-dl -i i.txt
 +</code>
 +
 +==== livejournal pic redirect link rip ====
 +
 +<code bash>
 +gallery-dl -g "r:https://example.livejournal.com/12345.html" > i.txt
 +# (strip all text but LJ links)
 +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 'Location' | awk '/Location: /,// { print }' | awk '{print $2}' > 2.txt
 +wget -O /dev/null $(cat 2.txt) 2>&1 | grep -w 'Location' | awk '/Location: /,// { print }' | awk '{print $2}' > 3.txt
 +gallery-dl -i 3.txt
 +</code>
 +
 +==== livejournal postimg icon embed rip ====
 +
 +<code bash>
 +gallery-dl -g "r:https://example.livejournal.com/12345.html" > i.txt
 +# (strip all text but LJ links)
 +gallery-dl -i i.txt
 +
 +# creates new file
 +sed -e 's!http[s]\?://www.livejournal.com.*!!g' i.txt > i2.txt
 +# 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
 +# final file is 3.txt, run ''-i'' on that
 +wget -O /dev/null $(cat i.txt) 2>&1 | grep -w 'Location' | awk '/Location: /,// { print }' | awk '{print $2}' > 2.txt
 +wget -O /dev/null $(cat 2.txt) 2>&1 | grep -w 'Location' | awk '/Location: /,// { print }' | awk '{print $2}' > 3.txt
 +gallery-dl -i 3.txt
 </code> </code>
cheatsheet/gallery-dl.1755435086.txt.gz · Last modified: by melo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki