?

Log in

No account? Create an account
script or program to download images from a community? - LiveJournal Client Discussions [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:
[User Picture]From: alexf
2004-06-09 04:15 am (UTC)
alj is able to download all pictures for certain journal.
(Reply) (Thread)
[User Picture]From: ati
2004-06-09 04:21 am (UTC)
as well as ljsm ;)
(Reply) (Parent) (Thread)
From: earthasa
2004-06-14 07: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 02:48 am (UTC)

Re: ljsm

Thank you, Asa!

I'll fix the bugs in allin1.pl in the nearest version.
(Reply) (Parent) (Thread)
From: earthasa
2004-06-14 07:27 pm (UTC)
I love the cheerful music on the About screen -- and so does my cat! :->

I wasn't able to get it to download any images except user pics.

I wasn't able to find a way to get it to just be concerned with recent posts (of great concern with large, long-standing, high-volume communities)

Thanks.
Asa
(Reply) (Parent) (Thread)
[User Picture]From: alexf
2004-06-15 04:23 am (UTC)

It shold download all the pictures that are displayed in a journal. Newer seen of any problems with that.
For large communities you can "hack" .links file that is created when you indexing journal for community. Just sort this file by post ID and erase all old posts...
Or leave only a few links there and then press "Index" again - it will re-index last 2 monthes.
(Reply) (Parent) (Thread)
From: earthasa
2004-06-14 07:36 pm (UTC)
correction -- it did download pictures besides user pictures...
(Reply) (Parent) (Thread)