Add wget installation instructions

pull/636/head
Philipp Hagemeister 12 years ago
parent c860c18297
commit 6065e27a13

@ -18,6 +18,11 @@
<h2><a href="https://github.com/downloads/rg3/youtube-dl/youtube-dl">2012.12.11</a></h2>
<p>To install it right away for all users, type:
<code style="display:block; margin-top: 0.4em; padding: 0.7em; background: #ccc; background: rgba(200, 200, 200, 0.4); white-space: pre;">sudo wget https://github.com/downloads/rg3/youtube-dl/youtube-dl -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl</code>
</p>
<ul>
<li><strong>MD5</strong>: a73e1d6f59e34d1231cf5788b31fa177</li>
<li><strong>SHA1</strong>: aa45f8e32c637a2342674f32d1ca9e8f70bf695c</li>
@ -28,6 +33,6 @@
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">
<img alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-nc-sa/3.0/80x15.png" /></a><br />
Copyright © 2006-2011 Ricardo Garcia Gonzalez</div>
Copyright © 2006-2012 Ricardo Garcia Gonzalez</div>
</body>
</html>

@ -18,6 +18,11 @@
<h2><a href="@PROGRAM_URL@">@PROGRAM_VERSION@</a></h2>
<p>To install it right away for all users, type:
<code style="display:block; margin-top: 0.4em; padding: 0.7em; background: #ccc; background: rgba(200, 200, 200, 0.4); white-space: pre;">sudo wget @PROGRAM_URL@ -O /usr/local/bin/youtube-dl
sudo chmod a+x /usr/local/bin/youtube-dl</code>
</p>
<ul>
<li><strong>MD5</strong>: @PROGRAM_MD5SUM@</li>
<li><strong>SHA1</strong>: @PROGRAM_SHA1SUM@</li>
@ -28,6 +33,6 @@
<a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">
<img alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-nc-sa/3.0/80x15.png" /></a><br />
Copyright © 2006-2011 Ricardo Garcia Gonzalez</div>
Copyright © 2006-2012 Ricardo Garcia Gonzalez</div>
</body>
</html>

@ -10,7 +10,7 @@ import os
import re
year = str(datetime.datetime.now().year)
for fn in glob.glob('*.html'):
for fn in glob.glob('*.html*'):
with io.open(fn, encoding='utf-8') as f:
content = f.read()
newc = re.sub(u'(?P<copyright>Copyright © 2006-)(?P<year>[0-9]{4})', u'Copyright © 2006-' + year, content)

Loading…
Cancel
Save