Bläddra i källkod

Use latest in download URLs

Sergey M․ 9 år sedan
förälder
incheckning
3dbb634bf3
1 ändrade filer med 3 tillägg och 3 borttagningar
  1. 3 3
      download.html.in

+ 3 - 3
download.html.in

@@ -28,13 +28,13 @@
 </p>
 </p>
 
 
 <p>To install it right away for all UNIX users (Linux, OS X, etc.), type:
 <p>To install it right away for all UNIX users (Linux, OS X, etc.), type:
-<code class="commands">sudo curl -L @PROGRAM_URL@ -o /usr/local/bin/youtube-dl<br/>
+<code class="commands">sudo curl -L https://yt-dl.org/downloads/latest/youtube-dl -o /usr/local/bin/youtube-dl<br/>
 sudo chmod a+rx /usr/local/bin/youtube-dl</code>
 sudo chmod a+rx /usr/local/bin/youtube-dl</code>
 </p>
 </p>
 
 
 <p>If you do not have curl, you can alternatively use a recent wget:
 <p>If you do not have curl, you can alternatively use a recent wget:
 
 
-<code class="commands">sudo wget @PROGRAM_URL@ -O /usr/local/bin/youtube-dl<br/>
+<code class="commands">sudo wget https://yt-dl.org/downloads/latest/youtube-dl -O /usr/local/bin/youtube-dl<br/>
 sudo chmod a+rx /usr/local/bin/youtube-dl</code>
 sudo chmod a+rx /usr/local/bin/youtube-dl</code>
 </p>
 </p>
 
 
@@ -51,7 +51,7 @@ See the <a href="https://pypi.python.org/pypi/youtube_dl">pypi page</a> for more
 </p>
 </p>
 
 
 <p>To check the signature, type:
 <p>To check the signature, type:
-<code class="commands">sudo wget @PROGRAM_URL@.sig -O youtube-dl.sig<br/>gpg --verify youtube-dl.sig /usr/local/bin/youtube-dl<br/>rm youtube-dl.sig</code>
+<code class="commands">sudo wget https://yt-dl.org/downloads/latest/youtube-dl.sig -O youtube-dl.sig<br/>gpg --verify youtube-dl.sig /usr/local/bin/youtube-dl<br/>rm youtube-dl.sig</code>
 </p>
 </p>
 
 
 <p>The following GPG keys will be used to sign the binaries and the git tags:</p>
 <p>The following GPG keys will be used to sign the binaries and the git tags:</p>