Wget legal? (from download accelerator thread)
|
Thread ordering seems to be by date of first post, not last post, so reposting response to http://gendou.com/forum/thread.php?thr=2596 here. Is wget (command line program for downloading on *nix, doesn't "accelerate" by threading) legal? The mplayer plugin I use to play movies tries to stream it, so I have to stop the download after being redirected by the PHP script and when it starts streaming and copy the URL into the command line to download manually via wget, and I can't figure out how to disable streaming of MP3s. EDIT: Removed the obvious. *Nevermind, "right click, save as" works- problem is the filename is always dl.php (am I the only person having this problem?)- perhaps it would be useful to use mod_rewrite to have the URL in the format of dl.php/id_xxx/code_xxx/user_xxx/xxx.mp3 ? Something like: RewriteEngine On RewriteBase / RewriteRule dl.php/id_([0-9]+)/code_([a-z0-9])+/user_([a-zA-Z0-9])/.+\.mp3 dl.php?id=&code=&user= in the apache config inside the appropriate Hm... you might also want to strip HTML attributes such as inline CSS- the above example is rather benign, but it seems ripe for formatting abuse. Oh, and thanks for the site! |
Re: Wget legal? (from download accelerator thread)
Link |
by
on 2005-07-13 12:48:33
|
gendou.com does NOT support Wget. if you want to use wget, and you REALLY know what your doing, you may do so. however, be aware that the download code changes every hour, and if you start flooding the server with bad requests, your IP gets banned until a time in which the unix timestamp no longer fits in 32 bits, get it? also worth noting is that the script dl.php does not send you an mp3 file. rather, it sends a location header, which redirects your browser (or wget or whatever) to the hard-link location. any user-agent, wget included, should save the document by a name that matches the hard-link. this is according to standards that not all user-agents follow, however. as for your second observation, formatting abuse = ban |