From fdbe96f2e44fd87b88e8a6fd1cab8436cdebcee1 Mon Sep 17 00:00:00 2001 From: msramalho <19508417+msramalho@users.noreply.github.com> Date: Tue, 10 Jun 2025 16:44:14 +0100 Subject: [PATCH] vk and reddit should work without credentials but log the error --- .../modules/antibot_extractor_enricher/dropins/reddit.py | 1 + .../modules/antibot_extractor_enricher/dropins/vk.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/auto_archiver/modules/antibot_extractor_enricher/dropins/reddit.py b/src/auto_archiver/modules/antibot_extractor_enricher/dropins/reddit.py index c46ca17..14d9c8c 100644 --- a/src/auto_archiver/modules/antibot_extractor_enricher/dropins/reddit.py +++ b/src/auto_archiver/modules/antibot_extractor_enricher/dropins/reddit.py @@ -29,6 +29,7 @@ class RedditDropin(Dropin): self.sb.open(url) return True + @logger.catch def _login(self): self.sb.click_link_text("Log in") self.sb.wait_for_ready_state_complete() diff --git a/src/auto_archiver/modules/antibot_extractor_enricher/dropins/vk.py b/src/auto_archiver/modules/antibot_extractor_enricher/dropins/vk.py index 76e176e..6888727 100644 --- a/src/auto_archiver/modules/antibot_extractor_enricher/dropins/vk.py +++ b/src/auto_archiver/modules/antibot_extractor_enricher/dropins/vk.py @@ -37,6 +37,7 @@ class VkDropin(Dropin): self.sb.open(url) return True + @logger.catch def _login(self) -> bool: # TODO: test method self.sb.open("https://vk.com")