Direct links on Sourceforge download pages

By AMDmi3 Last update 2 hours ago — Installed 478 times. Daily Installs: 1, 0, 2, 2, 1, 1, 5, 4, 1, 2, 3, 1, 2, 1, 2, 5, 2, 2, 0, 2, 1, 0, 3, 2, 1, 1, 1, 1, 4, 2, 3, 7
Script Summary:
Change download links on SourceForge to direct ones.

This script has no discussions.

start the discussion

This script has no reviews.

2009-11-09: work on all pages under project/$NAME/files
2009-09-02: support https:// urls
2009-08-25: support files with only single directory level (project/XXX/filename in contrast to project/XXX/YYY/filename)
2009-08-20: the script was updated to handle new File Release System (with project/[many dirs] in URL)
2009-08-04: the script was updated to handle new URLs ending with /download.

Links in the `Download' section of any SourceForge project link not to files directly, but to immediate page `Your $PROJECTNAME download will start shortly...' which redirects you to one of the mirrors. This is not always convenient, as:
- You can't copypaste links. Though links look like direct ones, they won't work unless followed from download page - this is no longer an issue, those links now work correctly (show immediate page when opened in browser, and redirect to real files when pasted into download tools).
- You need to wait extra time until the download starts.
- You need to select the mirror manually if you need a specific (fastest) one. You still can't select a mirror when copypasting a link.

For example (let's take azureus project), this script change links on download page from fake ones like this to direct ones like this.

Don't forget to change your favorite mirror in the source!