Request new web URI resource to automate update on Windows

Discussion about forum rules, new moderators, website content, website layout, VideoLAN artwork etc..
Forum rules
Please read the forum's rules carefully before posting. This forum should not be used to post VLC usage related questions.
portnoy256
New Cone
New Cone
Posts: 2
Joined: 09 Apr 2009 21:49

Request new web URI resource to automate update on Windows

Postby portnoy256 » 10 Apr 2009 15:12

Hi, it will be great to add a fixed URI to last version to have always the same link to download the last version.

Now the update link (7z version) are:

http://download.videolan.org/pub/videol ... 9-win32.7z
http://download.videolan.org/pub/videol ... 9-win32.7z

and future version will have different URI (in accord to version number), while a fixed link (that could be a php page pointing to last version file, in example "http://download.videolan.org/pub/videol ... n32-7z.php") could maintain a static link.


Anyway I've just automated a procedure to check and download automatically new versions, it could be useful to other users and I post it here (I'm sure it can be optimized with pipes or in other ways...):

Code: Select all

cd {local path where you want to save the .7z file} wget -d -S http://download.videolan.org/pub/videolan/vlc/last/win32/ grep -G 7z..vlc index.html > index1.html wget -B "http://download.videolan.org/pub/videolan/vlc/last/win32/" -d -N -i index1.html -F del index*

N.B.: The script above require 2 commands anyway: "wget" and "grep", freely available on this pages:

http://downloads.sourceforge.net/gnuwin ... -1-bin.zip
http://downloads.sourceforge.net/gnuwin ... -1-dep.zip
http://fastbull.dl.sourceforge.net/sour ... .4-bin.zip
http://puzzle.dl.sourceforge.net/source ... .4-dep.zip


Lorenzo Ciuciat

Return to “Forum, Website and Artwork discussion”

Who is online

Users browsing this forum: No registered users and 9 guests