feature/move_download_code_to_download #34
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user