diff --git a/.gitignore b/.gitignore index f67e20fc..04bc145d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1 @@ -* -!CNAME -!*.html +_* diff --git a/README.md b/README.md deleted file mode 100644 index 0cdcaa70..00000000 --- a/README.md +++ /dev/null @@ -1,255 +0,0 @@ -# You-Get - -[![Build Status](https://api.travis-ci.org/soimort/you-get.png)](https://travis-ci.org/soimort/you-get) [![PyPI version](https://badge.fury.io/py/you-get.png)](http://badge.fury.io/py/you-get) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/soimort/you-get?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) - -[You-Get](http://www.soimort.org/you-get) is a video downloader for [YouTube](http://www.youtube.com), [Youku](http://www.youku.com), [niconico](http://www.nicovideo.jp) and a few other sites. - -`you-get` is a command-line program, written completely in Python 3. Its prospective users are those who prefer CLI over GUI. With `you-get`, downloading a video is just one command away: - - $ you-get http://youtu.be/sGwy8DsUJ4M - -Fork me on GitHub: - -## Features - -### Supported Sites - -* Dailymotion -* Freesound -* Google+ -* Instagram -* JPopsuki -* Magisto -* Mixcloud -* Niconico (ニコニコ動画) -* Vimeo -* Vine -* Twitter -* Youku (优酷) -* YouTube -* 755 (ナナゴーゴー) -* AcFun -* Alive.in.th -* Baidu Music (百度音乐) -* Baidu Wangpan (百度网盘) -* Baomihua (爆米花) -* bilibili -* Blip -* Catfun (喵星球) -* CBS -* CNTV (中国网络电视台) -* Coursera -* Dongting (天天动听) -* Douban (豆瓣) -* DouyuTV (斗鱼) -* eHow -* Facebook -* Fun.tv (风行, Funshion) -* Google Drive -* ifeng (凤凰视频) -* Internet Archive -* iQIYI (爱奇艺) -* iQilu (齐鲁网, 山东网络台) -* Joy.cn (激动网) -* Khan Academy -* Ku6 (酷6网) -* Kugou (酷狗音乐) -* Kuwo (酷我音乐) -* LeTV (乐视网) -* Lizhi.fm (荔枝FM) -* Metacafe -* MioMio -* MTV 81 -* NetEase (网易视频) -* NetEase Music (网易云音乐) -* PPTV -* QianMo (阡陌视频) -* QQ (腾讯视频) -* Sina (新浪视频) -* Weibo Miaopai (新浪微博秒拍视频) -* Sohu (搜狐视频) -* SongTaste -* SoundCloud -* TED -* Tudou (土豆) -* Tumblr -* VID48 -* VideoBam -* VK -* 56 (56网) -* Xiami (虾米) -* YinYueTai (音悦台) -* Zhanqi (战旗TV) - -## Prerequisites - -### Python 3 - -`you-get` is known to work with: - -* Python 3.2 -* Python 3.3 -* Python 3.4 -* Python 3.5 -* PyPy3 - -### Dependencies (Optional but Recommended) - -* [FFmpeg](http://ffmpeg.org) or [Libav](http://libav.org/) - * For video and audio processing. -* [RTMPDump](http://rtmpdump.mplayerhq.hu/) - * For RTMP stream processing. - -## Installation - -You don't have to learn the Python programming language to use this tool. However, you need to make sure that Python 3 (with pip) is installed on your system. - -On Linux and BSD, installation made easy with your package manager: - -* Find and install packages: `python3` and `python3-pip` (if your distro did not make Python 3 the default, e.g., Debian) -* Or packages: `python` and `python-pip` (if your distro made Python 3 the default, e.g., Arch) - -On other systems (which tend to have quite evil user experience), please read the documentation and ask Google for help: - -* -* - -### 1. Using Pip (Standard Method) - - $ [sudo] pip3 install you-get - -Check if the installation is successful: - - $ you-get -V - -### 2. Downloading from PyPI - -You can also download the Python wheel for each release from [PyPI](https://pypi.python.org/pypi/you-get). - -If you choose to download the wheel from a PyPI mirror or elsewhere, remember to verify the signature of the package. For example: - - $ gpg --verify you_get-0.3.30-py3-none-any.whl.asc you_get-0.3.30-py3-none-any.whl - -### 3. Downloading from GitHub - -Download it [here](https://github.com/soimort/you-get/zipball/master) or: - - $ wget -O you-get.zip https://github.com/soimort/you-get/zipball/master - $ unzip you-get.zip - -Use the raw script without installation: - - $ cd soimort-you-get-*/ - $ ./you-get -V - -To install the package into the system path, execute: - - $ [sudo] make install - -Check if the installation is successful: - - $ you-get -V - -### 4. Using Git (Recommended for Developers and Advanced Users) - - $ git clone git://github.com/soimort/you-get.git - -Use the raw script without installation: - - $ cd you-get/ - $ ./you-get -V - -To install the package into the system path, execute: - - $ [sudo] make install - -Check if the installation is successful: - - $ you-get -V - -## Upgrading - -### 1. Using Pip - - $ [sudo] pip3 install --upgrade you-get - -## Getting Started - -Display the information of a video without downloading: - - $ you-get -i 'http://www.youtube.com/watch?v=sGwy8DsUJ4M' - -Download a video: - - $ you-get 'http://www.youtube.com/watch?v=sGwy8DsUJ4M' - -Download multiple videos: - - $ you-get 'http://www.youtube.com/watch?v=sGwy8DsUJ4M' 'http://www.youtube.com/watch?v=8bQlxQJEzLk' - -By default, program will skip any video that already exists in the local directory when downloading. If a temporary file (ends with a `.download` extension in its file name) is found, program will resume the download from last session. - -To enforce re-downloading of videos, use option `-f`: (this will overwrite any existing video or temporary file) - - $ you-get -f 'http://www.youtube.com/watch?v=sGwy8DsUJ4M' - -Set the output directory for downloaded files: - - $ you-get -o ~/Downloads 'http://www.youtube.com/watch?v=sGwy8DsUJ4M' - -Use a specific HTTP proxy for downloading: - - $ you-get -x 127.0.0.1:8087 'http://www.youtube.com/watch?v=sGwy8DsUJ4M' - -By default, the system proxy setting (i.e. environment variable `http_proxy` on *nix) is applied. To disable any proxy, use option `--no-proxy`: - - $ you-get --no-proxy 'http://www.youtube.com/watch?v=sGwy8DsUJ4M' - -Watch a video in your media player of choice: (this is just a trick to let you get rid of annoying ads on the video site) - - $ you-get -p vlc 'http://www.youtube.com/watch?v=sGwy8DsUJ4M' - -## FAQ - -**Q**: Some videos on Youku are restricted to mainland China visitors. Is it possible to bypass this restriction and download those videos? - -**A**: Thanks to [Unblock Youku](https://github.com/zhuzhuor/Unblock-Youku), it is now possible to access such videos from an oversea IP address. You can simply use `you-get` with option `-y proxy.uku.im:8888`. - -**Q**: Will you release an executable version / Windows Installer package? - -**A**: Yes, it's on my to-do list. - -## Command-Line Options - -For a complete list of available options, see: - -``` -$ you-get --help -Usage: you-get [OPTION]... [URL]... - -Startup options: - -V | --version Display the version and exit. - -h | --help Print this help and exit. - -Download options (use with URLs): - -f | --force Force overwriting existed files. - -i | --info Display the information of videos without downloading. - -u | --url Display the real URLs of videos without downloading. - -c | --cookies Load NetScape's cookies.txt file. - -n | --no-merge Don't merge video parts. - -F | --format Video format code. - -o | --output-dir Set the output directory for downloaded videos. - -p | --player Directly play the video with PLAYER like vlc/smplayer. - -x | --http-proxy Use specific HTTP proxy for downloading. - -y | --extractor-proxy Use specific HTTP proxy for extracting stream data. - --no-proxy Don't use any proxy. (ignore $http_proxy) - --debug Show traceback on KeyboardInterrupt. -``` - -## License - -You-Get is licensed under the [MIT license](https://raw.github.com/soimort/you-get/master/LICENSE.txt). - -## Reporting an Issue / Contributing - -Please read [CONTRIBUTING.md](https://github.com/soimort/you-get/blob/master/CONTRIBUTING.md) first. diff --git a/README.yaml b/README.yaml deleted file mode 100644 index 9946f6e7..00000000 --- a/README.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: You-Get -author: soimort -date: 2015-07-20 -output-format: html5 -template: _templates/sm.html5 -github-user: soimort -github-repo: you-get -raw-options: ["-s", "--toc", "--output=index.html"] ---- diff --git a/css/theme.css b/css/theme.css new file mode 100644 index 00000000..00f69997 --- /dev/null +++ b/css/theme.css @@ -0,0 +1,274 @@ + +body { + background-color: #eee; + color: #111; + font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', 'Droid Sans', Arial, freesans, sans-serif; + line-height: 1.5em; +} + + + +nav#DESC { + position: fixed; + top: 0; + left: 0; + height: 45%; + width: 25%; + background-color: #111; + color: #eee; +} + +nav#DESC img { + position: relative; + margin: 32px; + width: 64px; + height: 64px; + border-radius: 50%; + -webkit-border-radius: 50%; + -moz-border-radius: 50%; + box-shadow: 0 0 8px 0 #eee; + -webkit-box-shadow: 0 0 8px 0 #eee; + -moz-box-shadow: 0 0 8px 0 #eee; +} + +nav#DESC div#desc { + position: absolute; + margin-top: 16px; + margin-right: 32px; + top: 0; + right: 0; + text-align: right; + font-size: 12px; +} + +nav#DESC div#desc h1 { + font-size: 20px; +} + +nav#DESC div#desc h2 { + font-size: 16px; +} + +nav#DESC div#desc a { + display: block; + padding-bottom: 2.5px; + padding-top: 2.5px; + padding-left: 10px; + padding-right: 10px; + color: #111; + -webkit-transition: background-color .25s; + font-size: 15px; + text-decoration: none; + text-transform: uppercase; + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +nav#DESC div#desc a:hover { + background-color: #eee; + color: #111; + -webkit-transition: background-color .25s; +} + +nav#DESC div#desc a i { + color: #eee; +} + +nav#DESC div#desc a i:hover { + color: #111; +} + +nav#DESC #checksum { + display: block; + padding-bottom: 2.5px; + padding-top: 2.5px; + padding-left: 10px; + padding-right: 10px; + color: #eee; + -webkit-transition: background-color .25s; + font-size: 12px; + font-weight: bold; + text-decoration: none; + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +nav#DESC #checksum:hover { + background-color: #eee; + color: #111; +} + +nav#DESC div#desc div#msg a { + display: block; + padding-bottom: 2.5px; + padding-top: 2.5px; + padding-left: 10px; + color: #eee; + -webkit-transition: background-color .25s; + font-size: 12px; + font-weight: bold; + text-decoration: none; + text-transform: uppercase; + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +nav#DESC div#desc div#msg a:hover { + background-color: #eee; + color: #111; + -webkit-transition: background-color .25s; +} + + + +nav#TOC { + position: fixed; + top: 45%; + left: 0; + height: 60%; + width: 25%; + background-color: #111; + color: #eee; +} + +nav#TOC ul { + list-style-type: none; + padding-left: 20px; +} + +nav#TOC a { + display: block; + padding-top: 3px; + padding-left: 10px; + color: #eee; + -webkit-transition: background-color .25s; + font-size: 12px; + text-decoration: none; + text-transform: uppercase; + border-top-left-radius: 10px; + -moz-border-top-left-radius: 10px; + -webkit-border-top-left-radius: 10px; + border-bottom-left-radius: 10px; + -moz-border-bottom-left-radius: 10px; + -webkit-border-bottom-left-radius: 10px; +} + +nav#TOC a:hover { + background-color: #eee; + color: #111; + -webkit-transition: background-color .25s; +} + + + +article { + position: absolute; + width: 58%; + left: 25%; + padding: 5%; + font-size: 15px; +} + +a { + color: #111; +} + +address { + text-align: center; +} + +h1 { + font-size: 36px; +} + +h1.title { + text-transform: uppercase; +} + +h1.subtitle { + text-transform: uppercase; +} + +h2 { + text-transform: uppercase; +} + +img { + display: inline; +} + +ol { + list-style-type: upper-roman; +} + +footer { + text-align: right; +} + +table { + display: table; + border: 1px solid #ccc; + border-spacing: 10px; + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +td { + background-color: #ccc; + padding: 10px; + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; +} + +td a { + font-size: 16px; + text-decoration: none; +} + +td code { + background-color: #eee; + padding: 8px; + border-radius: 8px; + -moz-border-radius: 8px; + -webkit-border-radius: 8px; +} + +pre { + background-color: #111; + color: #1e1; + padding: 10px; + border-radius: 10px; + -moz-border-radius: 10px; + -webkit-border-radius: 10px; + line-height: 1.5em; + overflow: auto; +} + +code { + font-family: Consolas, 'Liberation Mono', Menlo, 'Droid Sans Mono', Courier, monospace; + font-size: 14px; +} + +p code, li code { + background-color: #ccc; + padding: 3px; + border-radius: 3px; + -moz-border-radius: 3px; + -webkit-border-radius: 3px; +} + +kbd { + background-color: #ccc; + padding: 5px; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + box-shadow: 5px 5px 5px #888; + font-family: Consolas, 'Liberation Mono', Menlo, 'Droid Sans Mono', Courier, monospace; + size: 12px; +} diff --git a/images/background.png b/images/background.png new file mode 100644 index 00000000..29b001ea Binary files /dev/null and b/images/background.png differ diff --git a/images/icon.png b/images/icon.png new file mode 100644 index 00000000..9aed2bcd Binary files /dev/null and b/images/icon.png differ diff --git a/images/logo.jpg b/images/logo.jpg new file mode 100644 index 00000000..7b3c2128 Binary files /dev/null and b/images/logo.jpg differ diff --git a/index.html b/index.html index ac2ef888..0c4a5250 100644 --- a/index.html +++ b/index.html @@ -1,244 +1,762 @@ - - - You-Get - + + + + + + + -
-

You-Get

-

soimort

-

2015-07-20

-
-