From fe0049d1a786132263121a2d48e6c75441586b18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergey=20M=E2=80=A4?= Date: Sat, 9 Mar 2019 18:25:26 +0700 Subject: [PATCH] Start moving to ytdl-org --- .htaccess | 20 ++++++++++---------- downloads/.htaccess | 4 ++-- downloads/2016.06.03/.htaccess | 4 ++-- index.php | 12 ++++++------ update_latest.sh | 6 +++--- 5 files changed, 23 insertions(+), 23 deletions(-) diff --git a/.htaccess b/.htaccess index 0e8591d26..e31fe65f9 100644 --- a/.htaccess +++ b/.htaccess @@ -3,16 +3,16 @@ Options +Indexes RewriteEngine On RewriteRule ^ip/?$ ip.php -RewriteRule ^bugs?/? https://github.com/rg3/youtube-dl/issues [R=302,L] -RewriteRule ^reporting/? https://github.com/rg3/youtube-dl/blob/master/README.md#bugs [R=302,L,NE] -RewriteRule ^update/?$ https://github.com/rg3/youtube-dl/blob/master/README.md#how-do-i-update-youtube-dl [R=302,L,NE] -RewriteRule ^donat(e|ions)/?$ https://rg3.github.io/youtube-dl/donations.html [R=302,L] -RewriteRule ^(faq-)?anime/?$ https://github.com/rg3/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/rg3/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/rg3/youtube-dl/blob/master/CONTRIBUTING.md#is-the-description-of-the-issue-itself-sufficient [R=302,L,NE] -RewriteRule ^g403/?$ https://github.com/rg3/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/rg3/youtube-dl#format-selection [R=302,L,NE] -RewriteRule ^output-template/?$ https://github.com/rg3/youtube-dl#output-template [R=302,L,NE] +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] diff --git a/downloads/.htaccess b/downloads/.htaccess index 74ea14415..d3375bd16 100644 --- a/downloads/.htaccess +++ b/downloads/.htaccess @@ -1,5 +1,5 @@ RewriteEngine On -RewriteRule ^$ https://github.com/rg3/youtube-dl/releases -RewriteRule latest(.*) /downloads/2016.06.03$1 [L,R=302] +RewriteRule ^$ https://github.com/ytdl-org/youtube-dl/releases +RewriteRule latest(.*) /downloads/2019.03.09$1 [L,R=302] diff --git a/downloads/2016.06.03/.htaccess b/downloads/2016.06.03/.htaccess index e7f302cad..8400e7663 100644 --- a/downloads/2016.06.03/.htaccess +++ b/downloads/2016.06.03/.htaccess @@ -1,5 +1,5 @@ RewriteEngine On -RewriteRule ^$ https://github.com/rg3/youtube-dl/releases/tag/2016.06.03_tmp [R=302,L] -RewriteRule ^(.+)$ https://github.com/rg3/youtube-dl/releases/download/2016.06.03_tmp/$1 [R=302,L] +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] diff --git a/index.php b/index.php index c4ccc7802..d92c38f88 100644 --- a/index.php +++ b/index.php @@ -24,12 +24,12 @@ echo ''; See the right for more resources. - - - - - - + + + + + +
Homepage
Download instructions
Documentation
Support
Develop
About
Homepage
Download instructions
Documentation
Support
Develop
About
diff --git a/update_latest.sh b/update_latest.sh index 4f5ac56fc..fe2153e73 100755 --- a/update_latest.sh +++ b/update_latest.sh @@ -13,7 +13,7 @@ cd "$(dirname $(readlink -f $0))" echo -n "$version" > latest_version echo -e "RewriteEngine On" > downloads/.htaccess -echo -e "RewriteRule ^$ https://github.com/rg3/youtube-dl/releases" >> downloads/.htaccess -echo -e "RewriteRule ^(\d{4}\.\d{2}\.\d{2}(?:\.\d+)?/?)$ https://github.com/rg3/youtube-dl/releases/tag/\$1" >> downloads/.htaccess -echo -e "RewriteRule ^(\d{4}\.\d{2}\.\d{2}(?:\.\d+)?/.+)$ https://github.com/rg3/youtube-dl/releases/download/\$1" >> 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