Filippo Valsorda
12 years ago
9 changed files with 60 additions and 76 deletions
Split View
Diff Options
-
8.gitignore
-
3MANIFEST.in
-
19Makefile
-
68setup.py
-
6youtube-dl
-
14youtube-dl.bash-completion
-
14youtube-dl.bash-completion.in
-
2youtube_dl/__init__.py
-
2youtube_dl/version.py
@ -0,0 +1,3 @@ |
|||
include README.md |
|||
include test/*.py |
|||
include test/*.json |
@ -1,6 +0,0 @@ |
|||
#!/usr/bin/env python |
|||
|
|||
import youtube_dl |
|||
|
|||
if __name__ == '__main__': |
|||
youtube_dl.main() |
@ -1,14 +0,0 @@ |
|||
__youtube-dl() |
|||
{ |
|||
local cur prev opts |
|||
COMPREPLY=() |
|||
cur="${COMP_WORDS[COMP_CWORD]}" |
|||
opts="--all-formats --audio-format --audio-quality --auto-number --batch-file --buffer-size --console-title --continue --cookies --dump-user-agent --extract-audio --format --get-description --get-filename --get-format --get-thumbnail --get-title --get-url --help --id --ignore-errors --keep-video --list-extractors --list-formats --literal --match-title --max-downloads --max-quality --netrc --no-continue --no-mtime --no-overwrites --no-part --no-progress --no-resize-buffer --output --password --playlist-end --playlist-start --prefer-free-formats --quiet --rate-limit --reject-title --restrict-filenames --retries --simulate --skip-download --srt-lang --title --update --user-agent --username --verbose --version --write-description --write-info-json --write-srt" |
|||
|
|||
if [[ ${cur} == * ]] ; then |
|||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) |
|||
return 0 |
|||
fi |
|||
} |
|||
|
|||
complete -F __youtube-dl youtube-dl |
@ -0,0 +1,14 @@ |
|||
__youtube-dl() |
|||
{ |
|||
local cur prev opts |
|||
COMPREPLY=() |
|||
cur="${COMP_WORDS[COMP_CWORD]}" |
|||
opts="" |
|||
|
|||
if [[ ${cur} == * ]] ; then |
|||
COMPREPLY=( $(compgen -W "${opts}" -- ${cur}) ) |
|||
return 0 |
|||
fi |
|||
} |
|||
|
|||
complete -F __youtube-dl youtube-dl |
@ -0,0 +1,2 @@ |
|||
|
|||
__version__ = '2012.11.29' |
Write
Preview
Loading…
Cancel
Save