downloader.structures.requests module¶
-
class
downloader.structures.requests.Download[source]¶ Bases:
downloader.structures.requests.DownloadDownload data from url.
-
url¶ str – URL of the internet resource.
Returns: DownloadedFile.Return type: obj Create new instance of Download(url,)
-
-
class
downloader.structures.requests.ProgressDownload[source]¶ Bases:
downloader.structures.requests.ProgressDownloadDownload data from url and report back the progress.
-
url¶ str – URL of the internet resource.
-
steps¶ int – Number of steps used to track progress.
Progress is reported using
Progressstructure.Returns: DownloadedFile.Return type: obj Create new instance of ProgressDownload(url, steps)
-
-
class
downloader.structures.requests.CheckExistence[source]¶ Bases:
downloader.structures.requests.CheckExistenceSend HEAD request to given url and check it’s existence.
-
url¶ str – URL of the internet resource.
Returns: Exists.Return type: obj Create new instance of CheckExistence(url,)
-