Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/danwaxman/download-file-periodically
Python script to download a file periodically.
https://github.com/danwaxman/download-file-periodically
Last synced: 29 days ago
JSON representation
Python script to download a file periodically.
- Host: GitHub
- URL: https://github.com/danwaxman/download-file-periodically
- Owner: DanWaxman
- License: mit
- Created: 2015-10-24T04:28:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2015-10-26T02:05:03.000Z (about 9 years ago)
- Last Synced: 2024-11-02T11:42:17.503Z (3 months ago)
- Language: Python
- Homepage:
- Size: 344 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# download-file-periodically
This is a python script to download a file periodically (either weekly, daily, or hourly).
The script requires Python 3 and usage is as follows:#Usage:
`$ python3 download-file-periodically.py -u/--url -f/--file -t/--time -h/--help`Where:
>-u or --url is the url to download a file from. **This is a required flag and must have a valid url as the argument following it.**
>-f or --file is the directory for the downloading file to be saved in. **This is a required flag and must have an argument following it.**
>-h or --help describes usage to the user. This flag is optional and the program will not execute if this flag is set.
>-t or --time specifies the time period over which the file is downloaded. **This option accepts three arguments: w for weekly, d for daily, and h for hourly. This defaults to week.**#Requirements:
The validators module must be installed.