X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=scrape.pl;h=c146153ab510135fd290b429c1f7ace0dd21b55e;hb=9e65b7087c18ebbe5a7b111fb2851f21507c8ced;hp=3b440657598688817851e8acbfb9cfb3a0d9c401;hpb=625eeaf55e30adaacff54d27d8f48da0b2ffabce;p=thirdparty%2Fgrsecurity-scrape.git diff --git a/scrape.pl b/scrape.pl index 3b44065..c146153 100755 --- a/scrape.pl +++ b/scrape.pl @@ -8,8 +8,8 @@ use File::Basename 'dirname', 'basename'; use Cwd 'abs_path'; my $script_dir = abs_path(dirname(__FILE__)); - -my $feed_raw = get("https://grsecurity.net/testing_rss.php"); +chdir($script_dir); +my $feed_raw = get("http://grsecurity.net/testing_rss.php"); my $feed = XMLin($feed_raw, ForceArray => ['item']); my $filename; @@ -28,7 +28,7 @@ for(@{$feed->{channel}->{item}}) { } if ($new_patches) { print("Downloading changelog-test.txt ...\n"); - getstore("https://grsecurity.net/changelog-test.txt", $script_dir . "/test/changelog-test.txt"); + getstore("http://grsecurity.net/changelog-test.txt", $script_dir . "/test/changelog-test.txt"); system("git", "add", $script_dir . "/test/" . $filename, $script_dir . "/test/changelog-test.txt", $script_dir . "/test/" . $filename . ".sig"); system("git", "commit", "-a", "-m", "Auto commit, " . $new_patches . " new patch{es}.");