Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IndexError: list index out of range #26

Open
ziova opened this issue Oct 10, 2022 · 0 comments
Open

IndexError: list index out of range #26

ziova opened this issue Oct 10, 2022 · 0 comments

Comments

@ziova
Copy link

ziova commented Oct 10, 2022

After selecting a book, the following error is produced:
Traceback (most recent call last):

  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\Scripts\bookcut.exe\__main__.py", line 7, in <module>
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1130, in __call__
    return self.main(*args, **kwargs)
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1055, in main
    rv = self.invoke(ctx)
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1657, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 1404, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\site-packages\click\core.py", line 760, in invoke
    return __callback(*args, **kwargs)
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\site-packages\bookcut\bookcut.py", line 166, in searching
    choose_a_book(libgen_data)
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\site-packages\bookcut\search.py", line 284, in choose_a_book
    details = link_finder(link, mirror_used)
  File "C:\Users\hp\AppData\Local\Programs\Python\Python310\lib\site-packages\bookcut\search.py", line 54, in link_finder
    if searcher[0].startswith("http") is False:
IndexError: list index out of range
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant