justfoolingaround / animdl

A highly efficient, fast, powerful and light-weight anime downloader and streamer for your favorite anime.
GNU General Public License v3.0
1.33k stars 109 forks source link

animepahe is broken #187

Closed ghost closed 2 years ago

ghost commented 2 years ago

Describe the bug

Broken animepahe support.

Did the error occur in between an active task (download / stream / grab)?

Tested animepahe with stream and download. Neither work. Tested animixplay, works perfectly.

STREAM ERROR DUMP:

Traceback (most recent call last):
  File "/home/shindo/.local/bin/animdl", line 8, in <module>
    sys.exit(__animdl_cli__())
  File "/home/shindo/.local/lib/python3.10/site-packages/click/core.py", line 1128, in __call__
    return self.main(*args, **kwargs)
  File "/home/shindo/.local/lib/python3.10/site-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
  File "/home/shindo/.local/lib/python3.10/site-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/home/shindo/.local/lib/python3.10/site-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/home/shindo/.local/lib/python3.10/site-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
  File "/home/shindo/.local/lib/python3.10/site-packages/animdl/core/cli/helpers/logger.py", line 79, in __inner__
    return f(*args, **kwargs, log_file=log_file, log_level=log_level)
  File "/home/shindo/.local/lib/python3.10/site-packages/animdl/core/cli/helpers/banner.py", line 97, in __inner__
    return f(*args, log_level=log_level, log_file=log_file, **kwargs)
  File "/home/shindo/.local/lib/python3.10/site-packages/animdl/core/cli/commands/stream.py", line 91, in animdl_stream
    stream_urls = list(
  File "/home/shindo/.local/lib/python3.10/site-packages/animdl/core/cli/helpers/__init__.py", line 53, in ensure_extraction
    for stream in stream_uri_caller():
  File "/home/shindo/.local/lib/python3.10/site-packages/animdl/core/codebase/providers/animepahe/__init__.py", line 60, in <lambda>
    [*get_stream_url(session, release_id, content.get("session"))]
  File "/home/shindo/.local/lib/python3.10/site-packages/animdl/core/codebase/providers/animepahe/__init__.py", line 50, in get_stream_url
    "stream_url": get_streams_from_embed_url(session, data.get("kwik")),
  File "/home/shindo/.local/lib/python3.10/site-packages/animdl/core/codebase/providers/animepahe/__init__.py", line 32, in get_streams_from_embed_url
    *KWIK_RE.search(embed_page).group(1).split("|")[::-1]
AttributeError: 'NoneType' object has no attribute 'group'

DOWNLOAD ERROR DUMP:

[download.py:81 - 2022-10-19 01:54:34,339 - animepahe/downloader: INFO] Downloading 'E02' [01/01, 00 remaining] 
[__init__.py:109 - 2022-10-19 01:54:42,969 - animepahe/downloader: CRITICAL] Oops, due to ConnectError('[Errno 111] Connection refused'), this stream has been rendered unable to download.
[__init__.py:117 - 2022-10-19 01:54:42,978 - animepahe/downloader: CRITICAL] No downloads were done. Use log level DEBUG or, -ll 0 to get complete tracebacks for the failed downloads.
[download.py:99 - 2022-10-19 01:54:42,979 - animepahe/downloader: WARNING] Could not download 'E02' due to: All stream links were undownloadable.. Please retry with other providers.

Screenshots [Optional]

x

Additional information

justfoolingaround commented 2 years ago

Seems like AnimePahe has fixed itself, retry!