Results¶
-
class
parfive.Results(*args, errors=None)[source]¶ Bases:
collections.UserListThe results of a download from
parfive.Downloader.download.This object contains the filenames of successful downloads as well as a list of any errors encountered in the
errorsproperty.Attributes Summary
A list of errors encountered during the download.
Methods Summary
add_error(filename, url, exception)Add an error to the results.
Attributes Documentation
-
errors¶ A list of errors encountered during the download.
The errors are represented as a tuple containing
(filepath, url, exception)wherefilepathis a function for generating a filepath,urlis the url to be downloaded andexceptionis the error raised during download.
Methods Documentation
-