Compare commits

..

62 Commits

Author SHA1 Message Date
Sergey M․
36ef9d9509 Add rewrite rules for copyright infringement URL 2019-04-27 03:13:40 +07:00
Sergey M․
f0242b98a8 Add rewrite rules for README and FAQ URLs 2019-04-27 02:54:12 +07:00
Sergey M․
782d021327 Add rewrite rule for search issues URL 2019-04-27 02:47:06 +07:00
Sergey M․
26dc98c5ca Add rewrite rule for escaping special characters URLs 2019-04-27 02:41:45 +07:00
Sergey M․
c444b69644 [.htaccess] Add rewrite rules for LATEST_VERSION and versions.json 2019-03-17 07:02:16 +07:00
Sergey M․
c3c160f402 Fix links to gh-pages 2019-03-11 04:11:04 +07:00
Sergey M․
59f945e799 Start moving to ytdl-org 2019-03-11 04:02:28 +07:00
Philipp Hagemeister
d2e9088ee4 prevent access to .git
The repository wasn't secret per se, but there's no reason to allow access to the git files.

Thanks to Ben Stock and CISPA for notifying us.
2017-02-03 22:07:13 +01:00
Sergey M․
167e13273e Use latest in download URLs 2016-07-17 18:45:31 +07:00
Sergey M․
40f283d159 Add some more shortcuts 2016-06-26 02:20:59 +07:00
Sergey M․
6a020a3218 Add yt-dl.org/questions shortcut 2016-06-26 02:00:20 +07:00
Sergey M․
e275a2f1ab [update_latest.sh] Fix root latest redirection 2016-06-11 03:55:38 +07:00
Sergey M․
8afb663891 [update_latest.sh] Fix download links redirection (2) 2016-06-11 03:19:16 +07:00
Sergey M․
1df8afcc18 [update_latest.sh] Fix download links redirection 2016-06-11 02:56:11 +07:00
Sergey M․
b0035c3448 Allow latest without trailing slash 2016-06-11 02:25:05 +07:00
Sergey M․
8c6f08911f [update_latest.sh] Redirect all releases to GitHub 2016-06-11 02:20:39 +07:00
Philipp Hagemeister
7fc3fe2b54 save traffic on 302 2016-06-04 11:58:05 +02:00
Philipp Hagemeister
6a6bbc01f5 ignore latest_version file 2016-06-04 11:41:53 +02:00
Philipp Hagemeister
774e0d72cd modify index 2016-06-04 11:41:04 +02:00
Philipp Hagemeister
00221fad40 add better rewrite rules 2016-06-04 11:39:40 +02:00
Philipp Hagemeister
c0716886d8 readd /latest directory 2016-06-04 10:20:14 +02:00
Philipp Hagemeister
386cc2f23e update latest etc. 2016-06-04 10:18:57 +02:00
Philipp Hagemeister
1a93d2ce6e Redirect current version to GitHub releases
Our hoster uberspace noted that we're by far exceeding our traffic limit.
For now, redirect everything to GitHub releases.
2016-06-04 10:08:23 +02:00
Philipp Hagemeister
86d55e2f99 Add shortcut URL for 403 errors when used in webbrowser 2015-12-30 13:13:17 +01:00
Philipp Hagemeister
1d97efec15 [htaccess] Add a shortcut for missing example URLs 2015-02-18 10:32:26 +01:00
Philipp Hagemeister
31326e8739 FAQ for -citw 2015-02-11 20:30:16 +01:00
Philipp Hagemeister
843060b2e0 Correct htaccess 2015-02-03 14:22:45 +01:00
Philipp Hagemeister
9c49a1a8bd Add a redirect for anime/illegal sites 2015-02-03 14:20:54 +01:00
Philipp Hagemeister
da9084a061 [.htaccess] Link to https 2015-01-04 02:43:34 +01:00
Philipp Hagemeister
caae7db812 [.htaccess] Add short URL yt-dl.org/donate 2015-01-04 02:41:24 +01:00
Philipp Hagemeister
a29e9ec53c Change link to support on yt-dl.org (#4484) 2014-12-16 00:27:34 +01:00
Philipp Hagemeister
29a8bfbaa9 [/update] Fix hash 2014-11-14 00:41:41 +01:00
Philipp Hagemeister
5e4ecfe225 [/latest] Correct content type and prevent caching 2014-11-13 23:37:57 +01:00
Philipp Hagemeister
b2ee8bf786 add /update 302 2014-11-13 22:42:59 +01:00
Philipp Hagemeister
da0a0d59a1 Ignore test from master branch 2014-11-13 22:41:21 +01:00
Philipp Hagemeister
52f8db8b79 Filter string latest in list of latest versions 2014-06-01 10:27:01 +02:00
Philipp Hagemeister
644f92f6a5 Write downloads .htaccess, not main one 2014-04-30 10:40:14 +02:00
Philipp Hagemeister
54a1852f08 Add a redirect for downloads/latest 2014-04-30 10:39:23 +02:00
Philipp Hagemeister
0b33704b43 Re-add +Indexes 2014-04-30 10:34:58 +02:00
Philipp Hagemeister
17e311adf0 Add latest symlink in downloads (Fixes #2835) 2014-04-30 10:21:09 +02:00
Philipp Hagemeister
809987a65c Do not escape redirect URL 2014-04-19 15:00:04 +02:00
Philipp Hagemeister
2f0e8ad0a6 Rename reporting shortener 2014-04-19 14:57:36 +02:00
Philipp Hagemeister
a5bd123ec0 Shorten bug reporting URL (Suggested by @AGSPhoenix) 2014-04-19 14:55:46 +02:00
Philipp Hagemeister
c74d3d5d80 echo latest version, too 2013-06-25 20:54:43 +02:00
Philipp Hagemeister
c20b2894ff Linkify latest 2013-06-25 20:53:54 +02:00
Philipp Hagemeister
005caca467 Disable automatic directory detection 2013-06-25 20:51:29 +02:00
Philipp Hagemeister
abb88dcb2f Allow latest to be called from everywhere 2013-06-25 19:13:59 +02:00
Philipp Hagemeister
c052029267 Add an error message if number of arguments is incorrect 2013-06-25 19:04:30 +02:00
Philipp Hagemeister
0669b923c0 Allow listing latest/ 2013-06-25 18:32:45 +02:00
Philipp Hagemeister
110c975154 Script to update the latest/ directory (#925) 2013-06-25 18:29:07 +02:00
Philipp Hagemeister
8005b349a4 Add latest/ directory 2013-06-25 18:00:37 +02:00
Philipp Hagemeister
d185f03455 Record changes to download server 2013-06-25 17:33:24 +02:00
Philipp Hagemeister
420cf88aeb Remove copyright note (this page is trivial) 2013-06-25 17:28:55 +02:00
Philipp Hagemeister
504afbe65d Update gitignore 2013-05-10 02:09:43 +02:00
Philipp Hagemeister
d929dd31d1 IP check 2013-05-10 02:09:39 +02:00
Philipp Hagemeister
49698bfaa3 Merge pull request #828 from jaimeMF/download-server
Fix float display
2013-05-09 16:48:07 -07:00
Jaime Marquínez Ferrándiz
633f6f9b39 Fix float display 2013-05-07 14:25:15 +02:00
Filippo Valsorda
71c8858fcd fixes 2012-12-31 17:04:16 +01:00
Philipp Hagemeister
83f5182bcf let travis-lint pass as well ... 2012-12-12 20:37:20 +01:00
Philipp Hagemeister
fb65f76630 Tell travis not to test this 2012-12-12 20:35:36 +01:00
Philipp Hagemeister
1f69efb978 Correct download links 2012-12-12 20:32:00 +01:00
Philipp Hagemeister
3bcc0a565c New downloads page for git 2012-12-12 20:21:16 +01:00
28 changed files with 119 additions and 29975 deletions

23
.gitignore vendored
View File

@@ -1,20 +1,13 @@
updates_key.pem
*~
*.pyc
*.pyo
*.DS_Store
wine-py2exe/
py2exe.log
*.kate-swp
downloads/*
updates_key.pem
youtube_dl.egg-info
test
build/
dist/
MANIFEST
README.txt
youtube-dl.1
youtube-dl.fish
youtube-dl.zsh
README.txt
youtube-dl.bash-completion
youtube-dl
youtube-dl.exe
youtube-dl.tar.gz
.coverage
cover/
youtube_dl.egg-info/
latest_version

32
.htaccess Normal file
View File

@@ -0,0 +1,32 @@
Options +Indexes
RewriteEngine On
RewriteRule ^ip/?$ ip.php
RewriteRule ^bugs?/? https://github.com/ytdl-org/youtube-dl/issues [R=302,L]
RewriteRule ^readme/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md [R=302,L,NE]
RewriteRule ^reporting/? https://github.com/ytdl-org/youtube-dl/blob/master/README.md#bugs [R=302,L,NE]
RewriteRule ^update/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl [R=302,L,NE]
RewriteRule ^donat(e|ions)/?$ https://ytdl-org.github.io/youtube-dl/donations.html [R=302,L]
RewriteRule ^faq/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#faq [R=302,L,NE]
RewriteRule ^(faq-)?anime/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free [R=302,L,NE]
RewriteRule ^copyright-infringement/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#can-you-add-support-for-this-anime-video-site-or-site-which-shows-current-movies-for-free [R=302,L,NE]
RewriteRule ^(faq-)?citw/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#do-i-always-have-to-pass-in---max-quality-format-or--citw [R=302,L,NE]
RewriteRule ^(?:example-url|questions)/?$ https://github.com/ytdl-org/youtube-dl/blob/master/CONTRIBUTING.md#is-the-description-of-the-issue-itself-sufficient [R=302,L,NE]
RewriteRule ^g403/?$ https://github.com/ytdl-org/youtube-dl/blob/master/README.md#i-extracted-a-video-url-with--g-but-it-does-not-play-on-another-machine--in-my-webbrowser [R=302,L,NE]
RewriteRule ^format-selection/?$ https://github.com/ytdl-org/youtube-dl#format-selection [R=302,L,NE]
RewriteRule ^output-template/?$ https://github.com/ytdl-org/youtube-dl#output-template [R=302,L,NE]
RewriteRule ^escape/?$ https://github.com/ytdl-org/youtube-dl#video-url-contains-an-ampersand-and-im-getting-some-strange-output-1-2839-or-v-is-not-recognized-as-an-internal-or-external-command [R=302,L,NE]
RewriteRule ^search-issues/?$ https://github.com/ytdl-org/youtube-dl/issues?q=is:issue [R=302,L,NE]
RewriteRule ^update/LATEST_VERSION$ https://ytdl-org.github.io/youtube-dl/update/LATEST_VERSION [R=302,L]
RewriteRule ^update/versions.json https://ytdl-org.github.io/youtube-dl/update/versions.json [R=302,L]
RewriteRule ^latest/version/?$ latest_version [L,T=text/plain]
RewriteRule ^latest_version/?$ - [T=text/plain]
RewriteRule ^latest(?:/(.*))?$ /downloads/latest/$1 [R=302,L]
RewriteRule ^\.git - [F]
ErrorDocument 302 "302"

3
.travis.yml Normal file
View File

@@ -0,0 +1,3 @@
# Just a placeholder script so that travis doesn't complain
language: python
script: true

View File

@@ -1,50 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>About youtube-dl</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<table class="heading"><tr>
<td class="title"><a href="index.html">youtube-dl</a></td>
<td class="subtitle">About the program</td>
</tr></table>
<h1>What is it?</h1>
<p><em>youtube-dl</em> is a command-line program to download videos from YouTube.com and a few <a href="supportedsites.html" style="color: blue; text-decoration: underline;">more sites</a>. It requires the <a href="http://www.python.org/">Python interpreter</a>, version 2.6, 2.7, or 3.2+, and it is not platform specific. It should work in your Unix box, in Windows or in Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like. The project is currently being developed at <a href="https://github.com/ytdl-org/youtube-dl/"><strong>GitHub</strong></a>.</p>
<h1>Authors</h1>
<p>Core team:</p>
<ul>
<li><a href="https://github.com/remitamine">Remita Amine</a>: core developer.</li>
</ul>
<p>Core team (inactive):</p>
<ul>
<li><a href="https://github.com/rg3">Ricardo Garcia Gonzalez</a>: original author, program core.</li>
<li><a href="https://github.com/phihag">Philipp Hagemeister</a>: core developer, maintainer 2011-2016.</li>
<li><a href="https://github.com/FiloSottile">Filippo Valsorda</a>: core developer, Windows build, testing.</li>
<li><a href="https://github.com/jaimeMF">Jaime Marquínez Ferrándiz</a>: core developer.</li>
<li><a href="https://github.com/yan12125">Yen Chi Hsuan</a>: core developer.</li>
<li><a href="https://github.com/naglis">Naglis Jonaitis</a>: core developer.</li>
<li><a href="https://github.com/pulpe">pulpe</a>: core developer.</li>
<li><a href="https://github.com/dstftw">Sergey M.</a>: core developer, maintainer 2016-2021.</li>
</ul>
<p>Many <a href="https://github.com/ytdl-org/youtube-dl/blob/master/AUTHORS">other people</a> contributing patches, code, ideas and kind messages. <a href="https://github.com/ytdl-org/youtube-dl/graphs/contributors">Too many</a> to be listed here. You know who you are. Thank you very much.</p>
<div class="note">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
<img alt="Creative Commons License" style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/3.0/80x15.png" /></a><br />
Copyright © 2006-2011 Ricardo Garcia Gonzalez<br />
Copyright © 2011-2021 youtube-dl developers
</div>
</body>
</html>

View File

@@ -1,7 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta http-equiv="refresh" content="0; url=https://github.com/ytdl-org/youtube-dl/blob/master/README.md#readme">
</head>
</html>

View File

@@ -1,77 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>youtube-dl: Download Page</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<table class="heading"><tr>
<td class="title"><a href="index.html">youtube-dl</a></td>
<td class="subtitle">Download Page</td>
</tr></table>
<p>Remember <em>youtube-dl</em> requires <a href="http://www.python.org/">Python</a> version 2.6, 2.7, or 3.2+ to work except for Windows exe.</p>
<p><a href="https://yt-dl.org/downloads/2021.12.17/youtube-dl.exe">Windows exe</a> requires <a href="https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe">Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package (x86)</a> and does not require Python that is already embedded into the binary.</p>
<h2><a href="https://yt-dl.org/downloads/2021.12.17/youtube-dl">2021.12.17</a> (<a href="https://yt-dl.org/downloads/2021.12.17/youtube-dl.sig">sig</a>)</h2>
<p><strong>SHA256</strong>: 7880e01abe282c7fd596f429c35189851180d6177302bb215be1cdec78d6d06d</p>
<p>
<a href="https://yt-dl.org/downloads/2021.12.17/youtube-dl.exe">Windows exe</a> (<a href="https://yt-dl.org/downloads/2021.12.17/youtube-dl.exe.sig">sig</a> - SHA256 26e5c00c35c5c3edc86dfc0a720aed109a13b1b7c67ac654a0ce8ff82a1f2c16)<br>
<a href="https://yt-dl.org/downloads/2021.12.17/youtube-dl-2021.12.17.tar.gz">Full source + docs + binary tarball</a> (<a href="https://yt-dl.org/downloads/2021.12.17/youtube-dl-2021.12.17.tar.gz.sig">sig</a> - SHA256 9f3b99c8b778455165b4525f21505e86c7ff565f3ac319e19733d810194135df)
</p>
<p>To install it right away for all UNIX users (Linux, OS X, etc.), type:
<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>
</p>
<p>If you do not have curl, you can alternatively use a recent wget:
<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>
</p>
<p>You can also use pip:
<code class="commands">sudo pip install --upgrade youtube_dl</code>
</p>
<p>
This command will update youtube-dl if you have already installed it.
See the <a href="https://pypi.python.org/pypi/youtube_dl">pypi page</a> for more information.
</p>
<p>You can use Homebrew if you have it:
<code class="commands">brew install youtube-dl</code>
</p>
<p>To check the signature, type:
<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>The following GPG keys will be used to sign the binaries and the git tags:</p>
<ul>
<li>Sergey M. <code class="fingerprint"><a href="https://dstftw.github.io/keys/18A9236D.asc">ED7F 5BF4 6B3B BED8 1C87 368E 2C39 3E0F 18A9 236D</a></code></li>
</ul>
<p>Older releases are also signed with one of:
<ul>
<li>Philipp Hagemeister <code class="fingerprint"><a href="https://phihag.de/keys/A4826A18.asc">7D33 D762 FD6C 3513 0481 347F DB4B 54CB A482 6A18</a></code> (until 2016-05-30)</li>
<li>Philipp Hagemeister <code class="fingerprint">0600 E1DB 6FB5 3A5D 95D8 FC0D F5EA B582 FAFB 085C</code> (until 2013-06-01)</li>
</li>
<li>Filippo Valsorda <code class="fingerprint">428D F5D6 3EF0 7494 BB45 5AC0 EBF0 1804 BCF0 5F6B</code> (until 2014)</li>
</p>
<div class="note">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
<img alt="Creative Commons License" style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/3.0/80x15.png" /></a><br />
Copyright © 2006-2011 Ricardo Garcia Gonzalez<br />
Copyright © 2011-2021 youtube-dl developers
</div>
</body>
</html>

View File

@@ -1,77 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>youtube-dl: Download Page</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<table class="heading"><tr>
<td class="title"><a href="index.html">youtube-dl</a></td>
<td class="subtitle">Download Page</td>
</tr></table>
<p>Remember <em>youtube-dl</em> requires <a href="http://www.python.org/">Python</a> version 2.6, 2.7, or 3.2+ to work except for Windows exe.</p>
<p><a href="@EXE_URL@">Windows exe</a> requires <a href="https://download.microsoft.com/download/1/6/5/165255E7-1014-4D0A-B094-B6A430A6BFFC/vcredist_x86.exe">Microsoft Visual C++ 2010 Service Pack 1 Redistributable Package (x86)</a> and does not require Python that is already embedded into the binary.</p>
<h2><a href="@PROGRAM_URL@">@PROGRAM_VERSION@</a> (<a href="@PROGRAM_URL@.sig">sig</a>)</h2>
<p><strong>SHA256</strong>: @PROGRAM_SHA256SUM@</p>
<p>
<a href="@EXE_URL@">Windows exe</a> (<a href="@EXE_URL@.sig">sig</a> - SHA256 @EXE_SHA256SUM@)<br>
<a href="@TAR_URL@">Full source + docs + binary tarball</a> (<a href="@TAR_URL@.sig">sig</a> - SHA256 @TAR_SHA256SUM@)
</p>
<p>To install it right away for all UNIX users (Linux, OS X, etc.), type:
<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>
</p>
<p>If you do not have curl, you can alternatively use a recent wget:
<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>
</p>
<p>You can also use pip:
<code class="commands">sudo pip install --upgrade youtube_dl</code>
</p>
<p>
This command will update youtube-dl if you have already installed it.
See the <a href="https://pypi.python.org/pypi/youtube_dl">pypi page</a> for more information.
</p>
<p>You can use Homebrew if you have it:
<code class="commands">brew install youtube-dl</code>
</p>
<p>To check the signature, type:
<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>The following GPG keys will be used to sign the binaries and the git tags:</p>
<ul>
<li>Sergey M. <code class="fingerprint"><a href="https://dstftw.github.io/keys/18A9236D.asc">ED7F 5BF4 6B3B BED8 1C87 368E 2C39 3E0F 18A9 236D</a></code></li>
</ul>
<p>Older releases are also signed with one of:
<ul>
<li>Philipp Hagemeister <code class="fingerprint"><a href="https://phihag.de/keys/A4826A18.asc">7D33 D762 FD6C 3513 0481 347F DB4B 54CB A482 6A18</a></code> (until 2016-05-30)</li>
<li>Philipp Hagemeister <code class="fingerprint">0600 E1DB 6FB5 3A5D 95D8 FC0D F5EA B582 FAFB 085C</code> (until 2013-06-01)</li>
</li>
<li>Filippo Valsorda <code class="fingerprint">428D F5D6 3EF0 7494 BB45 5AC0 EBF0 1804 BCF0 5F6B</code> (until 2014)</li>
</p>
<div class="note">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
<img alt="Creative Commons License" style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/3.0/80x15.png" /></a><br />
Copyright © 2006-2011 Ricardo Garcia Gonzalez<br />
Copyright © 2011-2021 youtube-dl developers
</div>
</body>
</html>

View File

5
downloads/.htaccess Normal file
View File

@@ -0,0 +1,5 @@
RewriteEngine On
RewriteRule ^$ https://github.com/ytdl-org/youtube-dl/releases
RewriteRule latest(.*) /downloads/2019.03.09$1 [L,R=302]

View File

@@ -0,0 +1,5 @@
RewriteEngine On
RewriteRule ^$ https://github.com/ytdl-org/youtube-dl/releases/tag/2016.06.03_tmp [R=302,L]
RewriteRule ^(.+)$ https://github.com/ytdl-org/youtube-dl/releases/download/2016.06.03_tmp/$1 [R=302,L]

View File

@@ -1,7 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<meta http-equiv="refresh" content="0; url=https://github.com/ytdl-org/youtube-dl/blob/master/README.md#faq">
</head>
</html>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 435 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 356 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 425 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 349 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 331 B

View File

@@ -1,37 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<title>youtube-dl</title>
<link rel="stylesheet" href="style.css" type="text/css" />
<link rel="alternate" type="application/atom+xml" title="youtube-dl releases" href="update/releases.atom" />
</head>
<body>
<table class="heading"><tr>
<td class="title"><a href="index.html">youtube-dl</a></td>
<td class="subtitle">Download videos from YouTube
(and <a href="supportedsites.html" style="color: blue; text-decoration: underline;">more sites</a>)</td>
</tr></table>
<p><em>youtube-dl</em> is a command-line program to download videos from YouTube.com and a few <a href="supportedsites.html" style="color: blue; text-decoration: underline;">more sites</a>. It requires the <a href="http://www.python.org/">Python interpreter</a> (2.6, 2.7, or 3.2+), and it is not platform specific. We also provide a <a href="https://yt-dl.org/latest/youtube-dl.exe">Windows executable</a> that includes Python. youtube-dl should work in your Unix box, in Windows or in Mac OS X. It is released to the public domain, which means you can modify it, redistribute it or use it however you like.</p>
<table border="0" id="rgb">
<tr><td><a class="button" id="r" href="https://github.com/ytdl-org/youtube-dl/blob/master/README.md#readme">Documentation</a></td></tr>
<tr><td><a class="button" id="g" href="download.html">Download</a></td></tr>
<tr><td><a class="button" id="main-support" href="https://github.com/ytdl-org/youtube-dl/issues/new/choose">Support</a></td></tr>
<tr><td><a class="button" id="y" href="https://github.com/ytdl-org/youtube-dl/">Develop</a></td></tr>
<tr><td><a class="button" id="b" href="about.html">About</a></td></tr>
</table>
<p>You can also contact us on the irc channel <a href="irc://chat.freenode.net/#youtube-dl">#youtube-dl</a> (<a href="http://webchat.freenode.net/?randomnick=1&amp;channels=youtube-dl">webchat</a>) on freenode.</p>
<div class="note">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
<img alt="Creative Commons License" style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/3.0/80x15.png" /></a><br />
Copyright © 2006-2011 Ricardo Garcia Gonzalez<br />
Copyright © 2011-2021 youtube-dl developers
</div>
</body>
</html>

36
index.php Normal file
View File

@@ -0,0 +1,36 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>youtube-dl</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<h1>youtube-dl downloads</h1>
<?php
$latest = file_get_contents('latest_version');
echo '<div class="latest">';
echo '<div><a href="latest">Latest</a> (v' . htmlspecialchars($latest) . ') downloads:</div>';
echo '<a href="downloads/latest/youtube-dl">youtube-dl</a> ';
echo '<a href="downloads/latest/youtube-dl.exe">youtube-dl.exe</a> ';
echo '<a href="downloads/latest/youtube-dl-' . htmlspecialchars($latest) . '.tar.gz">youtube-dl-' . htmlspecialchars($latest) . '.tar.gz</a>';
echo '</div>';
?>
See the right for more resources.
<table border="0" id="rgb" style="float: right;">
<tr><td><a class="button" id="main-homepage" href="http://ytdl-org.github.io/youtube-dl/">Homepage</a></td></tr>
<tr><td><a class="button" id="g" href="http://ytdl-org.github.io/youtube-dl/download.html">Download instructions</a></td></tr>
<tr><td><a class="button" id="r" href="http://ytdl-org.github.io/youtube-dl/documentation.html">Documentation</a></td></tr>
<tr><td><a class="button" id="main-support" href="https://github.com/ytdl-org/youtube-dl/issues/">Support</a></td></tr>
<tr><td><a class="button" id="y" href="https://github.com/ytdl-org/youtube-dl/">Develop</a></td></tr>
<tr><td><a class="button" id="b" href="http://ytdl-org.github.io/youtube-dl/about.html">About</a></td></tr>
</table>
</body>
</html>

3
ip.php Normal file
View File

@@ -0,0 +1,3 @@
<?php
header('Content-Type: text/plain');
echo $_SERVER['REMOTE_ADDR'];

View File

@@ -1 +0,0 @@
../update/LATEST_VERSION

View File

@@ -73,6 +73,7 @@ hr {
margin-top: 10ex;
text-align: center;
font-size: x-small;
clear: both;
}
h1 {
font-size: x-large;
@@ -136,21 +137,16 @@ tt {
border: 2px solid #666600;
}
#main-homepage {
background-color: #848;
border: 2px solid #808;
}
#main-support {
background-color: #448888;
border: 2px solid #008888;
}
code.commands {
display:block;
margin-top: 0.4em;
padding: 0.7em;
background: #ccc;
background: rgba(200, 200, 200, 0.4);
white-space: pre;
.all-versions {
float: left;
}
code.fingerprint {
font-weight: bold;
font-size: 140%;
}

File diff suppressed because it is too large Load Diff

View File

@@ -1,28 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8">
<title>youtube-dl: Supported sites</title>
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<table class="heading"><tr>
<td class="title"><a href="index.html">youtube-dl</a></td>
<td class="subtitle">Supported sites</td>
</tr></table>
<p>Here's is the list of all the supported sites, ordered alphabetically:</p>
<ul>
@SITES@
</ul>
<div class="note">
<a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">
<img alt="Creative Commons License" style="border-width:0"
src="https://i.creativecommons.org/l/by-sa/3.0/80x15.png" /></a><br />
Copyright © 2006-2011 Ricardo Garcia Gonzalez<br />
Copyright © 2011-2021 youtube-dl developers
</div>
</body>
</html>

0
tmp/.git_dont_delete Normal file
View File

View File

@@ -1 +0,0 @@
2021.12.17

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

19
update_latest.sh Executable file
View File

@@ -0,0 +1,19 @@
#/bins/sh
set -e
version="$1"
if [ -z "$version" ]; then
echo "Usage: $0 version"
exit 1
fi
cd "$(dirname $(readlink -f $0))"
echo -n "$version" > latest_version
echo -e "RewriteEngine On" > downloads/.htaccess
echo -e "RewriteRule ^$ https://github.com/ytdl-org/youtube-dl/releases" >> downloads/.htaccess
echo -e "RewriteRule ^(\d{4}\.\d{2}\.\d{2}(?:\.\d+)?/?)$ https://github.com/ytdl-org/youtube-dl/releases/tag/\$1" >> downloads/.htaccess
echo -e "RewriteRule ^(\d{4}\.\d{2}\.\d{2}(?:\.\d+)?/.+)$ https://github.com/ytdl-org/youtube-dl/releases/download/\$1" >> downloads/.htaccess
echo -e "RewriteRule latest(.*) /downloads/$1\$1 [L,R=302]" >> downloads/.htaccess