monitorrent: Lostfilm not working
С недавних пор стало сыпать на каждой попытке проверить `FAILED Failed while checking for lostfilm.tv Traceback (most recent call last): File “/var/www/monitorrent/monitorrent/plugins/trackers/init.py”, line 363, 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/engine.py”, line 124, in execute tracker.execute(topics, engine_tracker) File “/var/www/monitorrent/monitorrent/plugins/trackers/lostfilm.py”, line 783, in execute if not self._execute_login(engine): File “/var/www/monitorrent/monitorrent/plugins/trackers/init.py”, line 342, in _execute_login if not self.verify(): File “/var/www/monitorrent/monitorrent/plugins/trackers/lostfilm.py”, line 775, in verify return self.tracker.verify() File “/var/www/monitorrent/monitorrent/plugins/trackers/lostfilm.py”, line 502, in verify self._update_headers_and_cookies(my_settings_url) File “/var/www/monitorrent/monitorrent/plugins/trackers/lostfilm.py”, line 618, in _update_headers_and_cookies headers, cookies = extract_cloudflare_credentials_and_headers(url, self.headers, self.cookies) File “/var/www/monitorrent/monitorrent/plugins/trackers/init.py”, line 382, in extract_cloudflare_credentials_and_headers page.wait_for_selector(‘.left-side > .menu’, timeout=timeout) File “/usr/local/lib/python3.9/site-packages/playwright/sync_api/_generated.py”, line 6509, in wait_for_selector self._sync( File “/usr/local/lib/python3.9/site-packages/playwright/_impl/_sync_base.py”, line 88, in _sync return task.result() File “/usr/local/lib/python3.9/site-packages/playwright/_impl/_page.py”, line 360, in wait_for_selector return await self._main_frame.wait_for_selector(**locals_to_params(locals())) File “/usr/local/lib/python3.9/site-packages/playwright/_impl/_frame.py”, line 293, in wait_for_selector await self._channel.send(“waitForSelector”, locals_to_params(locals())) File “/usr/local/lib/python3.9/site-packages/playwright/_impl/_connection.py”, line 39, in send return await self.inner_send(method, params, False) File “/usr/local/lib/python3.9/site-packages/playwright/_impl/_connection.py”, line 63, in inner_send result = next(iter(done)).result() playwright._impl._api_types.TimeoutError: Timeout 30000ms exceeded. =========================== logs =========================== waiting for selector “.left-side > .menu” to be visible ============================================================`
monitorrent in Docker
About this issue
- Original URL
- State: closed
- Created a year ago
- Reactions: 1
- Comments: 26 (16 by maintainers)
Аналогично, буду сегодня смотреть. Надеюсь фигня.
На 4-м распери в кубике оно не съело больше чем 1.2Гб и все прошло на ура.
Я не думаю что могу сделать большего. Так что пока ишью закрываю, вместе с релизом 1.2.2
@Vladikamira теперь можно вытсавить и агент, как я написал выше. С такими настройками всё бегает просто прекрасно! Даже на Raspberry PI 3 с 1Гб. Если проставить руками все нужные настройки.
Возможно, я еще не релизнул полностью 1.2.2 и так как это защита от ДДОС никто не знает как учесть все кейсы, кроме разработчиков cloudflare.
Так что проблема может быть где угодно. Я работаю над этим 😃
Скоро будет возможность скачивать видео того как проходил процес обхода защиты. И уже по нему можно будет пытаться решать эти частные случаи.
https://hub.docker.com/layers/werwolfby/monitorrent/1.2.2/images/sha256-535b85bb005fb0f7cd4d5bdd65ee96331a844abeff9bebd98033ae0f265c076f?context=explore
Ну в принципе 1.2.2 докер справляется с проблемой на ура. Но иногда нужно несколько попыток, так что в конце концов должно быть все окейю