experiments with seleniumbase

This commit is contained in:
msramalho
2025-04-28 11:08:00 +01:00
parent 0f69b5fe0c
commit 5cf640af8a
7 changed files with 501 additions and 13 deletions

View File

@@ -0,0 +1,15 @@
from auto_archiver.core import Extractor
from auto_archiver.core import Metadata
from auto_archiver.core import Media
class SeleniumExtractor(Extractor):
def download(self, item: Metadata) -> Metadata | False:
"""
Downloads the media from the given URL and returns a Metadata object with the downloaded media.
If the URL is not supported or the download fails, this method should return False.
"""
pass