This commit is contained in:
John Doe 2018-06-17 10:36:53 -07:00 committed by Yuri Bochkarev
parent 5bc5cd9c77
commit d17027da41
3 changed files with 7 additions and 7 deletions

View file

@ -120,7 +120,7 @@ particular courses that you want to use with `coursera-dl`.
## Recommended installation method for all Operating Systems
From a command line (preferrably, from a virtual environment), simply issue
From a command line (preferably, from a virtual environment), simply issue
the command:
pip install coursera-dl
@ -327,7 +327,7 @@ where the script is supposed to be executed, with the following format:
#--mathjax-cdn https://cdn.bootcss.com/mathjax/2.7.1/MathJax.js
# more other parameters
Parameter which is stored in the file will be overriden if it is again specifed
Parameter which is stored in the file will be overriden if it is again specified
in your commandline script
**Note:** In `coursera-dl.conf`, all the parameters should not be wrapped
@ -337,11 +337,11 @@ with quotes.
In default mode when you interrupt the download process by pressing
<kbd>CTRL</kbd>+<kbd>C</kbd>, partially downloaded files will be deleted from your disk and
you have to start the download process from the begining. If your
you have to start the download process from the beginning. If your
download was interrupted by something other than KeyboardInterrupt
(<kbd>CTRL</kbd>+<kbd>C</kbd>) like sudden system crash, partially downloaded files will
remain on your disk and the next time you start the process again,
these files will be discraded from download list!, therefore it's your
these files will be discarded from download list!, therefore it's your
job to delete them manually before next start. For this reason we
added an option called `--resume` which continues your downloads from
where they stopped:

View file

@ -25,7 +25,7 @@ from .utils import mkdir_p, random_string
# Monkey patch cookielib.Cookie.__init__.
# Reason: The expires value may be a decimal string,
# but the Cookie class uses int() ...
__orginal_init__ = cookielib.Cookie.__init__
__original_init__ = cookielib.Cookie.__init__
def __fixed_init__(self, version, name, value,
@ -41,7 +41,7 @@ def __fixed_init__(self, version, name, value,
rfc2109=False):
if expires is not None:
expires = float(expires)
__orginal_init__(self, version, name, value,
__original_init__(self, version, name, value,
port, port_specified,
domain, domain_specified, domain_initial_dot,
path, path_specified,

View file

@ -205,7 +205,7 @@ def download_class(args, class_name):
Try to download on-demand class.
@return: Tuple of (bool, bool), where the first bool indicates whether
errors occurred while parsing syllabus, the second bool indicaters
errors occurred while parsing syllabus, the second bool indicates
whether the course appears to be completed.
@rtype: (bool, bool)
"""