Question for any LJ hackers or mathematicians out there
Friday, December 6th, 2002 10:01 pmWell this is puzzling. I'm working on a quick dirty Perl hack for downloading my journal (comments and all). It goes like this:
#!/usr/bin/perl
use LWP::Simple;
for ($count=579; $count<600; $count++) {
$head="http://www.livejournal.com/talkread.bml?journal=solri&itemid=";
$url=$head . $count;
$content = get($url);
print "$content \n";
}
Of course the last bit will be changed to append to a file, rather than fill the terminal with HTML. The problem with this method is that most itemids aren't used (so you download zillions of error pages), and I can't see a pattern for the one's which are used. I mean, can anyone see anything meaningful in this sequence?
76946
77116
77555
77741
OK, the numbers get bigger, but that's not much help. Of course I could include a search string for "No such entry" and not print that to the file, but I'd still waste time downloading a few hundred error messages for each journal entry.
#!/usr/bin/perl
use LWP::Simple;
for ($count=579; $count<600; $count++) {
$head="http://www.livejournal.com/talkread.bml?journal=solri&itemid=";
$url=$head . $count;
$content = get($url);
print "$content \n";
}
Of course the last bit will be changed to append to a file, rather than fill the terminal with HTML. The problem with this method is that most itemids aren't used (so you download zillions of error pages), and I can't see a pattern for the one's which are used. I mean, can anyone see anything meaningful in this sequence?
76946
77116
77555
77741
OK, the numbers get bigger, but that's not much help. Of course I could include a search string for "No such entry" and not print that to the file, but I'd still waste time downloading a few hundred error messages for each journal entry.
no subject
Date: 2002-12-06 08:31 pm (UTC)hmm
bitti 3-4 ay önce.
onu friends listimden çıkardım.
o hala beni çıkarmadı.
ben user infoma giriyorum hep.
friend of kısmında onun ismini görmek istemiyorum..
yani amacım commentlerimi silmek değil.
ama çözüm yok sanırım problemim için :(
"entry yazdı mı acaba" demekten ve günlüğüne gitmekten bıktım.sadece bu.
:)
nerelisin sen.neden burdasın..eşin neler yapıyor? nerde oturuyosun? :)
no subject
Date: 2002-12-07 06:29 am (UTC)Bildiğim kadarıyla bloke edemezsin. Sadece istersen, userinfo da ki bütün "friend of" kısmı saklayabilirsin ("Your settings" -> "Personal info").
nerelisin sen.
İngilizim
neden burdasın..
Öğretmenlik yapıyorum.
eşin neler yapıyor?
O da öğretmen.
nerde oturuyosun? :)
Ankara