Refactoring for new config setup

This commit is contained in:
erinhmclark
2025-01-27 19:03:02 +00:00
parent e3074013d0
commit e1a9373336
52 changed files with 219 additions and 242 deletions

View File

@@ -1,14 +1,12 @@
from loguru import logger
import csv
from auto_archiver.base_processors import Feeder
from auto_archiver.core import Feeder
from auto_archiver.core import Metadata, ArchivingContext
from auto_archiver.utils import url_or_none
class CSVFeeder(Feeder):
name = "csv_feeder"
def __iter__(self) -> Metadata:
url_column = self.column or 0
for file in self.files: