feature/move_download_code_to_download #34

Merged
Hazel merged 18 commits from feature/move_download_code_to_download into experimental 2024-05-15 15:24:30 +00:00
Showing only changes of commit bb32fc7647 - Show all commits

View File

@ -1,5 +1,6 @@
from typing import Tuple, Type, Dict, Set, Optional, List
from collections import defaultdict
from pathlib import Path
from . import FetchOptions, DownloadOptions
from .results import SearchResults
@ -218,9 +219,9 @@ class Pages:
naming[key] = [fit_to_file_system(i) for i in naming[key] if i is not None]
# get every possible path
path_format = [*main_settings["download_path"].split("/"), main_settings["download_file"]]
every_possible_path: Set[str] = set()
path_format = Path(main_settings["download_path"], main_settings["download_file"])
for part in path_format.parts:
pass
return DownloadOptions()