Separate setup() and module_setup().

This commit is contained in:
erinhmclark
2025-02-10 17:25:15 +00:00
parent c4bb667cec
commit 2c3d1f591f
14 changed files with 17 additions and 26 deletions

View File

@@ -12,8 +12,7 @@ class VkExtractor(Extractor):
Currently only works for /wall posts
"""
def setup(self, config: dict) -> None:
super().setup(config)
def module_setup(self) -> None:
self.vks = VkScraper(self.username, self.password, session_file=self.session_file)
def download(self, item: Metadata) -> Metadata: