aboutsummaryrefslogtreecommitdiffstats
path: root/youtube_dlc
diff options
context:
space:
mode:
authorpukkandan <pukkandan@gmail.com>2021-01-12 21:23:31 +0530
committerpukkandan <pukkandan@gmail.com>2021-01-12 21:42:41 +0530
commitf5546c0b3c77c7bd3b964c76bb5597d6f8905970 (patch)
tree0b8f2f3ef07f03944df67815b2c9dee824172afd /youtube_dlc
parent0ed3baddf2153bbf5205205ae0134edaa9a9ef5f (diff)
downloadhypervideo-pre-f5546c0b3c77c7bd3b964c76bb5597d6f8905970.tar.lz
hypervideo-pre-f5546c0b3c77c7bd3b964c76bb5597d6f8905970.tar.xz
hypervideo-pre-f5546c0b3c77c7bd3b964c76bb5597d6f8905970.zip
Fix typos (Closes #14)
:skip ci all Co-authored by: FelixFrog
Diffstat (limited to 'youtube_dlc')
-rw-r--r--youtube_dlc/YoutubeDL.py3
-rw-r--r--youtube_dlc/options.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/youtube_dlc/YoutubeDL.py b/youtube_dlc/YoutubeDL.py
index f648e0904..60986c58e 100644
--- a/youtube_dlc/YoutubeDL.py
+++ b/youtube_dlc/YoutubeDL.py
@@ -179,7 +179,7 @@ class YoutubeDL(object):
outtmpl: Template for output names.
restrictfilenames: Do not allow "&" and spaces in file names.
trim_file_name: Limit length of filename (extension excluded).
- ignoreerrors: Do not stop on download errors. (Default False when running youtube-dlc, but True when directly accessing YoutubeDL class)
+ ignoreerrors: Do not stop on download errors. (Default True when running youtube-dlc, but False when directly accessing YoutubeDL class)
force_generic_extractor: Force downloader to use the generic extractor
nooverwrites: Prevent overwriting files.
playliststart: Playlist item to start at.
@@ -2563,6 +2563,7 @@ class YoutubeDL(object):
if self.params.get('call_home', False):
ipaddr = self.urlopen('https://yt-dl.org/ip').read().decode('utf-8')
self._write_string('[debug] Public IP address: %s\n' % ipaddr)
+ return
latest_version = self.urlopen(
'https://yt-dl.org/latest/version').read().decode('utf-8')
if version_tuple(latest_version) > version_tuple(__version__):
diff --git a/youtube_dlc/options.py b/youtube_dlc/options.py
index 41ad8a579..75e8db988 100644
--- a/youtube_dlc/options.py
+++ b/youtube_dlc/options.py
@@ -785,7 +785,7 @@ def parseOpts(overrideArguments=None):
verbosity.add_option(
'-C', '--call-home',
dest='call_home', action='store_true', default=False,
- help='Contact the youtube-dlc server for debugging')
+ help='[Broken] Contact the youtube-dlc server for debugging')
verbosity.add_option(
'--no-call-home',
dest='call_home', action='store_false',