anime-collection / utils /scrape_args.py
v2ray's picture
Synced progress for yande.re scraping script.
5934b8c
raw
history blame
362 Bytes
from typing import Optional, Any
from dataclasses import dataclass
@dataclass
class ScrapeArgs:
target: Any
width: Optional[int] = None
height: Optional[int] = None
convert_to_avif: bool = False
use_low_quality: bool = False
min_tags: int = 0
max_scrape_count: Optional[int] = None
tag_type_dict: Optional[dict[str, str]] = None