feat: implemented genre to external file

This commit is contained in:
2024-06-04 11:00:12 +02:00
parent df1743c695
commit 636645e862
2 changed files with 36 additions and 5 deletions

View File

@@ -1,3 +1,12 @@
import re
from pathlib import Path
from typing import Dict, Generator, List, Set, Type, Union
from ..download import Downloader, Page, components
from ..utils.config import main_settings
from .utils import ask_for_bool, cli_function
class GenreIO(components.HumanIO):
@staticmethod
def ask_to_create(option: components.Option) -> bool:
@@ -42,4 +51,3 @@ def get_genre() -> str:
genre = select_genre.choose(input("> "))
return genre.value