Compare commits
56 Commits
gh-pages-r
...
download-s
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe0049d1a7 | ||
|
|
d2e9088ee4 | ||
|
|
167e13273e | ||
|
|
40f283d159 | ||
|
|
6a020a3218 | ||
|
|
e275a2f1ab | ||
|
|
8afb663891 | ||
|
|
1df8afcc18 | ||
|
|
b0035c3448 | ||
|
|
8c6f08911f | ||
|
|
7fc3fe2b54 | ||
|
|
6a6bbc01f5 | ||
|
|
774e0d72cd | ||
|
|
00221fad40 | ||
|
|
c0716886d8 | ||
|
|
386cc2f23e | ||
|
|
1a93d2ce6e | ||
|
|
86d55e2f99 | ||
|
|
1d97efec15 | ||
|
|
31326e8739 | ||
|
|
843060b2e0 | ||
|
|
9c49a1a8bd | ||
|
|
da9084a061 | ||
|
|
caae7db812 | ||
|
|
a29e9ec53c | ||
|
|
29a8bfbaa9 | ||
|
|
5e4ecfe225 | ||
|
|
b2ee8bf786 | ||
|
|
da0a0d59a1 | ||
|
|
52f8db8b79 | ||
|
|
644f92f6a5 | ||
|
|
54a1852f08 | ||
|
|
0b33704b43 | ||
|
|
17e311adf0 | ||
|
|
809987a65c | ||
|
|
2f0e8ad0a6 | ||
|
|
a5bd123ec0 | ||
|
|
c74d3d5d80 | ||
|
|
c20b2894ff | ||
|
|
005caca467 | ||
|
|
abb88dcb2f | ||
|
|
c052029267 | ||
|
|
0669b923c0 | ||
|
|
110c975154 | ||
|
|
8005b349a4 | ||
|
|
d185f03455 | ||
|
|
420cf88aeb | ||
|
|
504afbe65d | ||
|
|
d929dd31d1 | ||
|
|
49698bfaa3 | ||
|
|
633f6f9b39 | ||
|
|
71c8858fcd | ||
|
|
83f5182bcf | ||
|
|
fb65f76630 | ||
|
|
1f69efb978 | ||
|
|
3bcc0a565c |
23
.gitignore
vendored
23
.gitignore
vendored
@@ -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
|
||||
|
||||
24
.htaccess
Normal file
24
.htaccess
Normal file
@@ -0,0 +1,24 @@
|
||||
Options +Indexes
|
||||
|
||||
RewriteEngine On
|
||||
RewriteRule ^ip/?$ ip.php
|
||||
|
||||
RewriteRule ^bugs?/? https://github.com/ytdl-org/youtube-dl/issues [R=302,L]
|
||||
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-)?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 ^(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 ^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
3
.travis.yml
Normal file
@@ -0,0 +1,3 @@
|
||||
# Just a placeholder script so that travis doesn't complain
|
||||
language: python
|
||||
script: true
|
||||
@@ -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://ytdl-org.github.com/youtube-dl/about.html">
|
||||
</head>
|
||||
</html>
|
||||
@@ -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://ytdl-org.github.com/youtube-dl/documentation.html">
|
||||
</head>
|
||||
</html>
|
||||
@@ -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://ytdl-org.github.com/youtube-dl/donations.html">
|
||||
</head>
|
||||
</html>
|
||||
@@ -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://ytdl-org.github.com/youtube-dl/download.html">
|
||||
</head>
|
||||
</html>
|
||||
0
downloads/.git_dont_delete
Normal file
0
downloads/.git_dont_delete
Normal file
5
downloads/.htaccess
Normal file
5
downloads/.htaccess
Normal 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]
|
||||
|
||||
5
downloads/2016.06.03/.htaccess
Normal file
5
downloads/2016.06.03/.htaccess
Normal 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]
|
||||
|
||||
7
faq.html
7
faq.html
@@ -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://ytdl-org.github.com/youtube-dl/faq.html">
|
||||
</head>
|
||||
</html>
|
||||
@@ -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://ytdl-org.github.com/youtube-dl/index.html">
|
||||
</head>
|
||||
</html>
|
||||
36
index.php
Normal file
36
index.php
Normal 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.com/youtube-dl/">Homepage</a></td></tr>
|
||||
<tr><td><a class="button" id="g" href="http://ytdl-org.github.com/youtube-dl/download.html">Download instructions</a></td></tr>
|
||||
<tr><td><a class="button" id="r" href="http://ytdl-org.github.com/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.com/youtube-dl/about.html">About</a></td></tr>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
3
ip.php
Normal file
3
ip.php
Normal file
@@ -0,0 +1,3 @@
|
||||
<?php
|
||||
header('Content-Type: text/plain');
|
||||
echo $_SERVER['REMOTE_ADDR'];
|
||||
152
style.css
Normal file
152
style.css
Normal file
@@ -0,0 +1,152 @@
|
||||
body {
|
||||
font-family: sans-serif;
|
||||
margin-left: 10%;
|
||||
margin-right: 10%;
|
||||
margin-top: 2ex;
|
||||
margin-bottom: 3ex;
|
||||
background-color: white;
|
||||
color: black;
|
||||
/*background-color: #fff1db;*/
|
||||
background-color: white;
|
||||
/*
|
||||
background-image: url("gradient.png");
|
||||
background-repeat: repeat-x;
|
||||
*/
|
||||
/*
|
||||
background-image: url("gradient2.png");
|
||||
background-repeat: repeat-y;
|
||||
*/
|
||||
/*
|
||||
background-image: url("gradient3.png");
|
||||
background-repeat: repeat-x;
|
||||
*/
|
||||
/*
|
||||
background-image: url("gradient4.png");
|
||||
background-repeat: repeat-y;
|
||||
*/
|
||||
background-image: url("gradient5.png");
|
||||
background-repeat: repeat-x;
|
||||
}
|
||||
.heading {
|
||||
border: 0;
|
||||
color: black;
|
||||
font-size: xx-large;
|
||||
font-weight: bold;
|
||||
padding-bottom: 1ex;
|
||||
border-bottom: 1px solid black;
|
||||
margin-bottom: 2ex;
|
||||
width: 100%;
|
||||
}
|
||||
.heading tr {
|
||||
border: 0;
|
||||
}
|
||||
.heading td {
|
||||
border: 0;
|
||||
}
|
||||
.heading a {
|
||||
text-decoration: none;
|
||||
color: black;
|
||||
}
|
||||
.title {
|
||||
text-align: left;
|
||||
}
|
||||
.subtitle {
|
||||
text-align: right;
|
||||
}
|
||||
.toc {
|
||||
padding-left: 2ex;
|
||||
border: 1px solid #aaaaaa;
|
||||
background-color: white;
|
||||
padding-bottom: 1ex;
|
||||
border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
}
|
||||
.toc ul {
|
||||
margin: 0; list-style-type: none;
|
||||
}
|
||||
hr {
|
||||
margin-top: 3ex;
|
||||
margin-bottom: 3ex;
|
||||
width: 50%;
|
||||
}
|
||||
.note {
|
||||
margin-top: 10ex;
|
||||
text-align: center;
|
||||
font-size: x-small;
|
||||
clear: both;
|
||||
}
|
||||
h1 {
|
||||
font-size: x-large;
|
||||
margin-top: 2ex;
|
||||
color: black;
|
||||
margin-left: 2%;
|
||||
margin-right: 2%;
|
||||
}
|
||||
h2 {
|
||||
font-size: large;
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
p {
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
ul {
|
||||
margin-left: 5%;
|
||||
margin-right: 5%;
|
||||
}
|
||||
li {
|
||||
margin-left: 3%;
|
||||
margin-top: 0.5ex;
|
||||
margin-bottom: 0.5ex;
|
||||
}
|
||||
tt {
|
||||
padding-left: 0.5ex;
|
||||
padding-right: 0.5ex;
|
||||
background: #dddddd;
|
||||
}
|
||||
#rgb {
|
||||
width: 33%;
|
||||
margin: 3ex auto;
|
||||
}
|
||||
.button {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
font-size: x-large;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
display: block;
|
||||
padding: 2ex;
|
||||
border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
}
|
||||
#r {
|
||||
background-color: #884444;
|
||||
border: 2px solid #880000;
|
||||
}
|
||||
#g {
|
||||
background-color: #448844;
|
||||
border: 2px solid #006600;
|
||||
}
|
||||
#b {
|
||||
background-color: #444488;
|
||||
border: 2px solid #000088;
|
||||
}
|
||||
#y {
|
||||
background-color: #888844;
|
||||
border: 2px solid #666600;
|
||||
}
|
||||
|
||||
#main-homepage {
|
||||
background-color: #848;
|
||||
border: 2px solid #808;
|
||||
|
||||
}
|
||||
#main-support {
|
||||
background-color: #448888;
|
||||
border: 2px solid #008888;
|
||||
}
|
||||
|
||||
.all-versions {
|
||||
float: left;
|
||||
}
|
||||
@@ -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://ytdl-org.github.com/youtube-dl/supportedsites.html">
|
||||
</head>
|
||||
</html>
|
||||
0
tmp/.git_dont_delete
Normal file
0
tmp/.git_dont_delete
Normal file
@@ -1 +0,0 @@
|
||||
2019.03.09
|
||||
13358
update/releases.atom
13358
update/releases.atom
File diff suppressed because it is too large
Load Diff
12472
update/versions.json
12472
update/versions.json
File diff suppressed because it is too large
Load Diff
19
update_latest.sh
Executable file
19
update_latest.sh
Executable 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
|
||||
Reference in New Issue
Block a user