Skip to content

Latest commit

 

History

History
60 lines (46 loc) · 2.51 KB

README.md

File metadata and controls

60 lines (46 loc) · 2.51 KB

Pretty Downloader Version Python_Version License Donate

CodeQL

PyPI - Downloads PyPI - Downloads PyPI - Downloads

📝 CONTRIBUTIONS

Before doing any contribution read CONTRIBUTING.

📧 CONTACT

Email: [email protected]

General Discord: https://discord.gg/dFD5HHa

Developer Discord: https://discord.gg/rxNNHYN9EQ

📥 INSTALLING

Latest PyPI stable release

pip install pretty-downloader

⚙ HOW TO USE

import pretty_downloader
pretty_downloader.download(<YOUR URL>)

OR

from pretty_downloader import download
download(<YOUR URL>)

🤝 PARAMETERS

  • url : str, required
    • This should be the url of the file you wish to download
  • file_path : str, optional
    • The path to save the file (Default: "")
  • file_name : str, optional
    • The file name you want the file to be saved with. Should include file extension (Default: None)
  • show_progress : bool, optional
    • Option to disable/enable the default progress bar (Default: True)
  • name : str, optional
    • The name you want to appear in the progress bar (default: 'Download progress')
  • block_size : int, optional
    • The size of the download block (Default: 1024)
  • proxies : dict, optional
  • headers : dict, optional
    • Dictionary of headers (Default: None)
    • Example: {'user-agent': 'Mozilla/5.0'}
  • RETURNS: Path of file downloaded

🖼️ SCRIPT SCREENSHOTS & VIDEOS

alt text