]> git.donarmstrong.com Git - infobot.git/commitdiff
changed core to www
authordms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Thu, 23 Nov 2000 14:53:14 +0000 (14:53 +0000)
committerdms <dms@c11ca15a-4712-0410-83d8-924469b57eb5>
Thu, 23 Nov 2000 14:53:14 +0000 (14:53 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@167 c11ca15a-4712-0410-83d8-924469b57eb5

src/Modules/Freshmeat.pl

index f7c60db35c815b2fe6f01087e0662d29fd3ab288..78eb6a5e9b06998c459572164bf9ba12faf2ee8c 100644 (file)
@@ -12,7 +12,7 @@ use strict;
 ### download compressed version instead?
 
 my %urls = (
-       'public'  => 'http://core.freshmeat.net/backend/appindex.txt',
+       'public'  => 'http://www.freshmeat.net/backend/appindex.txt',
        'private' => 'http://feed.freshmeat.net/appindex/appindex.txt',
 );
 
@@ -153,7 +153,7 @@ sub downloadIndex {
            next;
        }
 
-       if ($i % 100 == 0 and $i != 0) {
+       if ($i % 200 == 0 and $i != 0) {
            &main::DEBUG("FM: unlocking and locking.");
            &main::dbRaw("UNLOCK", "UNLOCK TABLES");
            ### another lame hack to "prevent" errors.