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

Ошибка при обновлении списка отслеживания #390

Open
Taran2ul opened this issue May 11, 2023 · 0 comments
Labels

Comments

@Taran2ul
Copy link

Taran2ul commented May 11, 2023

Monitorrent v.1.4.0-alpha.1 в Docker образе
Периодически при обновлении списка отслеживания с lostfilm вывальвается ошибка и после Monitorrent висит до перезапуска контейнера.

Exception while execute topic
Traceback (most recent call last):
  File "/var/www/monitorrent/monitorrent/plugins/trackers/__init__.py", line 416, in extract_cloudflare_credentials_and_headers
    raise CloudflareException('Exception should be thrown by scrapper, but this is not always happened')
cloudscraper.exceptions.CloudflareException: Exception should be thrown by scrapper, but this is not always happened

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/var/www/monitorrent/monitorrent/plugins/trackers/lostfilm.py", line 845, in execute
    episodes = self._prepare_request(topic)
  File "/var/www/monitorrent/monitorrent/plugins/trackers/lostfilm.py", line 908, in _prepare_request
    show = self.tracker.parse_url(topic.url, True)
  File "/var/www/monitorrent/monitorrent/plugins/trackers/lostfilm.py", line 535, in parse_url
    update_headers_and_cookies_mixin(self, url)
  File "/var/www/monitorrent/monitorrent/plugins/trackers/__init__.py", line 399, in update_headers_and_cookies_mixin
    headers, cookies = extract_cloudflare_credentials_and_headers(url, self.headers, self.cookies,
  File "/var/www/monitorrent/monitorrent/plugins/trackers/__init__.py", line 421, in extract_cloudflare_credentials_and_headers
    return asyncio.run(solve_challenge(url, settings))
  File "/usr/local/lib/python3.9/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
    return future.result()
  File "/var/www/monitorrent/monitorrent/plugins/trackers/__init__.py", line 451, in solve_challenge
    await page.goto(url)
  File "/usr/local/lib/python3.9/site-packages/playwright/async_api/_generated.py", line 9162, in goto
    await self._impl_obj.goto(
  File "/usr/local/lib/python3.9/site-packages/playwright/_impl/_page.py", line 494, in goto
    return await self._main_frame.goto(**locals_to_params(locals()))
  File "/usr/local/lib/python3.9/site-packages/playwright/_impl/_frame.py", line 147, in goto
    await self._channel.send("goto", locals_to_params(locals()))
  File "/usr/local/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 44, in send
    return await self._connection.wrap_api_call(
  File "/usr/local/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 419, in wrap_api_call
    return await cb()
  File "/usr/local/lib/python3.9/site-packages/playwright/_impl/_connection.py", line 79, in inner_send
    result = next(iter(done)).result()
playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded.
=========================== logs ===========================
navigating to "https://www.lostfilm.tv/series/Love_Death_and_Robots/seasons", waiting until "load"
============================================================
@werwolfby werwolfby added the bug label Jun 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants