Skip to content

Commit

Permalink
Fix typos (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
jimms committed Oct 7, 2020
1 parent ff4e4a9 commit d546593
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions anime_downloader/commands/dl.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@
help="Retrieve without downloading")
@click.option(
'--download-dir', metavar='PATH',
help="Specifiy the directory to download to")
help="Specify the directory to download to")
@click.option(
'--quality', '-q', type=click.Choice(['360p', '480p', '720p', '1080p']),
help='Specify the quality of episode. Default-720p')
@click.option(
'--fallback-qualities', '-fq', cls=util.ClickListOption,
help='Specifiy the order of fallback qualities as a list.')
help='Specify the order of fallback qualities as a list.')
@click.option(
'--force-download', '-f', is_flag=True,
help='Force downloads even if file exists')
Expand Down
2 changes: 1 addition & 1 deletion anime_downloader/commands/ezdl.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,5 +203,5 @@ def command(ctx, anime_url, episode_range, player,
range_size=chunk_size)
print()

# If it's all successfull proceeds to next ep instead of looping.
# If it's all successful proceeds to next ep instead of looping.
break
2 changes: 1 addition & 1 deletion anime_downloader/commands/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def command(test_query):
# echo(click.style('Works ', fg='green') + site)
echo(click.style(p, fg='green') + thread.site)
else:
logging.debug('Error occured during testing')
logging.debug('Error occurred during testing')
logging.debug(thread.exception)
echo(click.style(f, fg='red') + thread.site)
else:
Expand Down
2 changes: 1 addition & 1 deletion anime_downloader/commands/watch.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ def command_parser(command):
# new "no neverland" --provider vidstream > ['new', '--provider', 'no neverland', 'vidstream']

# Better than split(' ') because it accounts for quoutes.
# Group 3 for qouted command
# Group 3 for quoted command
command_regex = r'(("|\')(.*?)("|\')|.*?\s)'
matches = re.findall(command_regex, command + " ")
commands = [i[0].strip('"').strip("'").strip() for i in matches if i[0].strip()]
Expand Down
4 changes: 2 additions & 2 deletions anime_downloader/extractors/kwik.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@

class Kwik(BaseExtractor):
'''Extracts video url from kwik pages, Kwik has some `security`
which allows to access kwik pages when only refered by something
and the kwik video stream when refered through the corresponding
which allows to access kwik pages when only referred by something
and the kwik video stream when referred through the corresponding
kwik video page.
'''

Expand Down
2 changes: 1 addition & 1 deletion anime_downloader/players/baseplayer.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def args():

def __init__(self, episode):
# TODO: Stream urls is a list of urls for now
# It should be a list of seperate class with title and other metadata
# It should be a list of separate class with title and other metadata
self.episode = episode

def _get_executable(self):
Expand Down
2 changes: 1 addition & 1 deletion anime_downloader/session.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def get(self, key, **options):
# HACK: Because of circular dependency
from anime_downloader import downloader
# HACK: This has to obtained like this because this variable is
# set inside dl. There should be a persistant data store throughout
# set inside dl. There should be a persistent data store throughout
# the app instead.
disable_ssl = get_session().verify
if key not in self._cache:
Expand Down

0 comments on commit d546593

Please sign in to comment.