(no subject)
2017-Apr-17, Monday 12:33 pmAaaaaaand done! My LJ is wiped down, all images moved. After 13 years, 1 month, 1 day. So please let me know if you stumble across any deadlinks.
wget to back up my LJ Scrapbook. This method stopped working as LJ restructured Scrapbook a few times. Me, I kept using them as free image hosting. But, for some reason, I've been remotivated to get a backup.http://ic.pics.livejournal.com/$username/$usernumber/$photonumber/$photonumber_original.jpg#!/bin/bash
username=your_user_name
usernumber=your_user_number
maxphotonumber=your_max_number
for (( c=0; c<=$maxphotonumber; c++))
do
wget --load-cookies cookies.txt -erobots=off -nd -np -r http://ic.pics.livejournal.com/$username/$usernumber/$c/"$c"_original.jpg
doneTools > Export Cookies... and chose a save file location.wget. It exists on many platforms but I'm running it, and the other programs used later on, under linux.-nc; no clobber, meaning don't download additional copies of existing files-np; no parent, this is very IMPORTANT, it means only look in subdirs, don't ascend up into the depths of livejournal.com saving everything along the way-r; recursive-o output.file; redirect output to specified log filewget --load-cookies cookies.txt -nc -np -r -o log.txt http://pics.livejournal.com/your_user_namewget downloads everything, not just pictures, and in ScrapBooks hierarchy (which is not the most useful for humans). So it's going to need sorting, but I'll leave that up to you.--spider; follow the links as usual, but don't download any files-nd; no directories, don't create anywget --load-cookies cookies.txt --spider -nd -np -r -o spider.txt http://pics.livejournal.com/your_user_nameDownloaded: 817 files, 5.1M in 3m 33s (24.3 KB/s)cat spider.txt | grep pics.livejournal.com/your_user_name/pic | sed -r 's/^.*(pics\.livejournal\.com\/your_user_name\/pic\/[0-9a-z]{8}).*$/http:\/\/\1/' | sort -n | uniq > links.txt-i input.file; input file of links to visitwget --load-cookies cookies.txt -i links.txt -np -o dl.txtDownloaded: 629 files, 262M in 56m 56s (122 KB/s)wget create a gallery and add all the images in Unsorted to it.