general cleanup

This commit is contained in:
msramalho
2025-06-04 11:53:01 +01:00
parent d2e8f1a512
commit cbd189c97d
5 changed files with 2 additions and 17 deletions

View File

@@ -62,7 +62,7 @@ If you are having issues with the extractor, you can review the version of `yt-d
},
"end_means_success": {
"default": True,
"help": "if True, any archived content will mean a 'success', if False this archiver will not return a 'success' stage; this is useful for cases when the yt-dlp will archive a video but ignore other types of content like images or text only pages that the subsequent archivers can retrieve.",
"help": "if True, any archived content will mean a 'success', if False this extractor will not return a 'success' stage; this is useful for cases when the yt-dlp will archive a video but ignore other types of content like images or text only pages that the subsequent extractors can retrieve.",
"type": "bool",
},
"allow_playlist": {

View File

@@ -1,15 +0,0 @@
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

View File

@@ -97,7 +97,7 @@ class TestGenericExtractor(TestExtractorBase):
)
def test_download_nonexistent_media(self, make_item, url):
"""
Test to make sure that the extractor doesn't break on non-existend posts/media
Test to make sure that the extractor doesn't break on non-existent posts/media
It should return 'False'
"""