Fix typos (#549)
parent
ff4e4a92bf
commit
d5465938bf
|
@ -31,13 +31,13 @@ sitenames = [v[1] for v in ALL_ANIME_SITES]
|
|||
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')
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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()]
|
||||
|
|
|
@ -12,8 +12,8 @@ logger = logging.getLogger(__name__)
|
|||
|
||||
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.
|
||||
'''
|
||||
|
||||
|
|
|
@ -33,7 +33,7 @@ class BasePlayer(metaclass=ABCMeta):
|
|||
|
||||
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):
|
||||
|
|
|
@ -85,7 +85,7 @@ class DownloaderSession:
|
|||
# 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:
|
||||
|
|
Loading…
Reference in New Issue