Only count feed URLs.
This commit is contained in:
parent
3c7779dbf1
commit
d94bd5176e
1 changed files with 2 additions and 0 deletions
|
@ -31,6 +31,8 @@ while (<>) {
|
||||||
$url =~ s/\s*\.(ogg|mp3)\s*$/.audio/i; # Treat ogg and mp3 downloads same.
|
$url =~ s/\s*\.(ogg|mp3)\s*$/.audio/i; # Treat ogg and mp3 downloads same.
|
||||||
$url =~ s/\s*\/$$//; # Always remove trailing slash
|
$url =~ s/\s*\/$$//; # Always remove trailing slash
|
||||||
|
|
||||||
|
next unless $url =~ /feed/;
|
||||||
|
|
||||||
$data{$url}{__TOTAL__} = 0 unless defined $data{$url}{__TOTAL__};
|
$data{$url}{__TOTAL__} = 0 unless defined $data{$url}{__TOTAL__};
|
||||||
$data{$url}{__TOTAL__}++;
|
$data{$url}{__TOTAL__}++;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue