?

Log in

No account? Create an account
script or program to download images from a community? - LiveJournal Client Discussions — LiveJournal [entries|archive|friends|userinfo]
LiveJournal Client Discussions

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

script or program to download images from a community? [Jun. 9th, 2004|12:01 am]
LiveJournal Client Discussions
lj_clients
[earthasa]
Is there a script or program to download all images posted recently in a community?

Ideally it would categorize them at least by the poster's username, possibly using folder names.

I made an attempt to just use wget for this, but it doesn't seem that wget's combination of features handles the livejournal site design (for this purpose).

Thanks :)
linkReply

Comments:
From: earthasa
2004-06-14 11:06 pm (UTC)

ljsm

Thanks :)
I tried it and it worked pretty good.
It doesn't do exactly what I 'm looking for, but I may try my amateur hands at a script that does, and yours seems a good model.

I found a bug in allin1.pl -- if the posts were downloaded with pictures (I used -i3), then the URLs to the images are all relative (../../../user/img/site/xxx or ../../../img/xxx); allin1.pl leaves those URLs unchanched, but creates allposts.html in the user folder. I think those references would all work if "../../" was removed.

It would also be nice if allposts.html included the name of the poster, the timestamp, user pic, and mood for each of the posts, as well as either making the link to the individual post go to the already downloaded version instead of the online version, or include both links (That way it's possible to quickly reply to the post and also to avoid downloading the images again).

Anyway, thanks a lot!
:)

Asa
(Reply) (Parent) (Thread)
[User Picture]From: ati
2004-06-16 06:48 am (UTC)

Re: ljsm

Thank you, Asa!

I'll fix the bugs in allin1.pl in the nearest version.
(Reply) (Parent) (Thread)