[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Watching a webpage with the source name as text, not link.



On Sat, 2 Jun 2007 16:50:57 +0900
Charles Plessy <charles-debian-nospam@plessy.org> wrote:

> http://bibiserv.techfak.uni-bielefeld.de/download/tools/rnahybrid.html
 
> There is no link to the tarball in this page, however the name of the
> tarball appears clearly. Is there a way to overcome this with uscan?

Why not use the page that comes after the link? That gives you a direct
reference to the file. Check the source of the HTML for the pop up page
that normally provides the download (just cancel the download).
http://bibiserv.techfak.uni-bielefeld.de/spool/download/bibiserv_1180771945_17521/rnahybrid-2.1-src.tar.gz

That URL appears to work with wget. Base your uscan on that and set a
wildcard for the bibiserv_<numbers>_<numbers>/ directory just in case
that changes from time to time.

something like :
http://bibiserv.techfak.uni-bielefeld.de/spool/download/bibiserv_[0-9]*_[0-9]*/rnahybrid-
(.*)-src.tar.gz

or 
http://bibiserv.techfak.uni-bielefeld.de/spool/download/bibiserv_.*_.*/rnahybrid-
(.*)-src.tar.gz

Always use the actual file location, not the webpage that the site
offers - view the HTML source and find out where the file actually
lives. The file has to exist somewhere accessible to be downloaded.

-- 

Neil Williams
=============
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/

Attachment: pgpqXR_J098oV.pgp
Description: PGP signature


Reply to: