test
This commit is contained in:
13
tidal_dl_ng/model/downloader.py
Normal file
13
tidal_dl_ng/model/downloader.py
Normal file
@ -0,0 +1,13 @@
|
||||
import pathlib
|
||||
from dataclasses import dataclass
|
||||
|
||||
from requests import HTTPError
|
||||
|
||||
|
||||
@dataclass
|
||||
class DownloadSegmentResult:
|
||||
result: bool
|
||||
url: str
|
||||
path_segment: pathlib.Path
|
||||
id_segment: int
|
||||
error: HTTPError | None = None
|
Reference in New Issue
Block a user