mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-13 20:53:06 +00:00
[skip travis] minor fixes
This commit is contained in:
parent
3ca3f77f9c
commit
e367127957
20
README.md
20
README.md
@ -82,8 +82,8 @@ Then simply type this
|
|||||||
in the global configuration file
|
in the global configuration file
|
||||||
/etc/youtube-dlc.conf: Do not read the user
|
/etc/youtube-dlc.conf: Do not read the user
|
||||||
configuration in ~/.config/youtube-
|
configuration in ~/.config/youtube-
|
||||||
dl/config (%APPDATA%/youtube-dlc/config.txt
|
dlc/config (%APPDATA%/youtube-
|
||||||
on Windows)
|
dlc/config.txt on Windows)
|
||||||
--config-location PATH Location of the configuration file; either
|
--config-location PATH Location of the configuration file; either
|
||||||
the path to the config or its containing
|
the path to the config or its containing
|
||||||
directory.
|
directory.
|
||||||
@ -258,8 +258,8 @@ Then simply type this
|
|||||||
option)
|
option)
|
||||||
--cookies FILE File to read cookies from and dump cookie
|
--cookies FILE File to read cookies from and dump cookie
|
||||||
jar in
|
jar in
|
||||||
--cache-dir DIR Location in the filesystem where youtube-dlc
|
--cache-dir DIR Location in the filesystem where youtube-
|
||||||
can store some downloaded information
|
dlc can store some downloaded information
|
||||||
permanently. By default
|
permanently. By default
|
||||||
$XDG_CACHE_HOME/youtube-dlc or
|
$XDG_CACHE_HOME/youtube-dlc or
|
||||||
~/.cache/youtube-dlc . At the moment, only
|
~/.cache/youtube-dlc . At the moment, only
|
||||||
@ -308,7 +308,8 @@ Then simply type this
|
|||||||
files in the current directory to debug
|
files in the current directory to debug
|
||||||
problems
|
problems
|
||||||
--print-traffic Display sent and read HTTP traffic
|
--print-traffic Display sent and read HTTP traffic
|
||||||
-C, --call-home Contact the youtube-dlc server for debugging
|
-C, --call-home Contact the youtube-dlc server for
|
||||||
|
debugging
|
||||||
--no-call-home Do NOT contact the youtube-dlc server for
|
--no-call-home Do NOT contact the youtube-dlc server for
|
||||||
debugging
|
debugging
|
||||||
|
|
||||||
@ -381,8 +382,8 @@ Then simply type this
|
|||||||
a list of available MSOs
|
a list of available MSOs
|
||||||
--ap-username USERNAME Multiple-system operator account login
|
--ap-username USERNAME Multiple-system operator account login
|
||||||
--ap-password PASSWORD Multiple-system operator account password.
|
--ap-password PASSWORD Multiple-system operator account password.
|
||||||
If this option is left out, youtube-dlc will
|
If this option is left out, youtube-dlc
|
||||||
ask interactively.
|
will ask interactively.
|
||||||
--ap-list-mso List all supported multiple-system
|
--ap-list-mso List all supported multiple-system
|
||||||
operators
|
operators
|
||||||
|
|
||||||
@ -442,8 +443,3 @@ Then simply type this
|
|||||||
--convert-subs FORMAT Convert the subtitles to other format
|
--convert-subs FORMAT Convert the subtitles to other format
|
||||||
(currently supported: srt|ass|vtt|lrc)
|
(currently supported: srt|ass|vtt|lrc)
|
||||||
|
|
||||||
# COPYRIGHT
|
|
||||||
|
|
||||||
youtube-dlc is released into the public domain by the copyright holders.
|
|
||||||
|
|
||||||
This README file was originally written by [Daniel Bolton](https://github.com/dbbolton) and is likewise released into the public domain.
|
|
||||||
|
@ -14,7 +14,7 @@ with io.open(README_FILE, encoding='utf-8') as f:
|
|||||||
oldreadme = f.read()
|
oldreadme = f.read()
|
||||||
|
|
||||||
header = oldreadme[:oldreadme.index('# OPTIONS')]
|
header = oldreadme[:oldreadme.index('# OPTIONS')]
|
||||||
footer = oldreadme[oldreadme.index('# CONFIGURATION'):]
|
#footer = oldreadme[oldreadme.index('# CONFIGURATION'):]
|
||||||
|
|
||||||
options = helptext[helptext.index(' General Options:') + 19:]
|
options = helptext[helptext.index(' General Options:') + 19:]
|
||||||
options = re.sub(r'(?m)^ (\w.+)$', r'## \1', options)
|
options = re.sub(r'(?m)^ (\w.+)$', r'## \1', options)
|
||||||
@ -23,4 +23,4 @@ options = '# OPTIONS\n' + options + '\n'
|
|||||||
with io.open(README_FILE, 'w', encoding='utf-8') as f:
|
with io.open(README_FILE, 'w', encoding='utf-8') as f:
|
||||||
f.write(header)
|
f.write(header)
|
||||||
f.write(options)
|
f.write(options)
|
||||||
f.write(footer)
|
#f.write(footer)
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
- **23video**
|
- **23video**
|
||||||
- **24video**
|
- **24video**
|
||||||
- **3qsdn**: 3Q SDN
|
- **3qsdn**: 3Q SDN
|
||||||
- **3sat**
|
|
||||||
- **4tube**
|
- **4tube**
|
||||||
- **56.com**
|
- **56.com**
|
||||||
- **5min**
|
- **5min**
|
||||||
@ -1155,7 +1154,7 @@
|
|||||||
- **Zaq1**
|
- **Zaq1**
|
||||||
- **Zattoo**
|
- **Zattoo**
|
||||||
- **ZattooLive**
|
- **ZattooLive**
|
||||||
- **ZDF**
|
- **ZDF-3sat**
|
||||||
- **ZDFChannel**
|
- **ZDFChannel**
|
||||||
- **zingmp3**: mp3.zing.vn
|
- **zingmp3**: mp3.zing.vn
|
||||||
- **Zype**
|
- **Zype**
|
||||||
|
Loading…
Reference in New Issue
Block a user