diff options
-rwxr-xr-x | openwrt/scripts/download.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/openwrt/scripts/download.pl b/openwrt/scripts/download.pl index 9f46810a8..84c97cf9a 100755 --- a/openwrt/scripts/download.pl +++ b/openwrt/scripts/download.pl @@ -62,6 +62,9 @@ foreach my $mirror (@ARGV) { /type="radio" name="use_default" value="(\w+)" onclick="form\.submit\(\)"\/>/ and do { push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath"; }; + /<a href="\/.+\?use_mirror=(\w+)"><b>Download/ and do { + push @mirrors, "http://$1.dl.sourceforge.net/sourceforge/$sfpath"; + }; } push @mirrors, "http://dl.sourceforge.net/sourceforge/$sfpath"; close SF; |