mirror of
https://github.com/Garmelon/PFERD.git
synced 2026-04-12 15:35:05 +02:00
Add HttpCrawler
This commit is contained in:
parent
961f40f9a1
commit
d565df27b3
4 changed files with 51 additions and 5 deletions
|
|
@ -86,6 +86,9 @@ class OutputDirectory:
|
|||
|
||||
self._report = Report()
|
||||
|
||||
def register_reserved(self, path: PurePath):
|
||||
self._report.mark_reserved(path)
|
||||
|
||||
def _mark(self, path: PurePath) -> None:
|
||||
"""
|
||||
May throw an OutputDirException
|
||||
|
|
@ -100,7 +103,7 @@ class OutputDirectory:
|
|||
msg = f"Collides with other file: {e.collides_with}"
|
||||
raise OutputDirException(msg)
|
||||
|
||||
def _resolve(self, path: PurePath) -> Path:
|
||||
def resolve(self, path: PurePath) -> Path:
|
||||
"""
|
||||
May throw an OutputDirException.
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue