https://github.com/riptl/cron-get-webcam
⏰ Single-pic webcam archiver for use with cron
https://github.com/riptl/cron-get-webcam
archiving python python3 webcam webcam-capture
Last synced: about 2 months ago
JSON representation
⏰ Single-pic webcam archiver for use with cron
- Host: GitHub
- URL: https://github.com/riptl/cron-get-webcam
- Owner: riptl
- License: unlicense
- Created: 2019-02-04T23:34:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-02-05T12:04:04.000Z (over 6 years ago)
- Last Synced: 2025-07-08T08:09:23.377Z (3 months ago)
- Topics: archiving, python, python3, webcam, webcam-capture
- Language: Python
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ⏰ Cron webcam archiver
* Archive [single picture webcams](https://www.augsburg.de/fileadmin/user_upload/header/webcam/webcamdachspitz/B_Rathausplatz_Dachspitz_00.jpg)
* Simple and reliable setup (32 lines of code)
* Zero config
* Requirements: `python3` + `requests` + `cron`
* One picture per invocation
* Only new pictures get saved
* Easy folder structure: `yyyy-mm-dd/hhmmss` (UTC)### Watch (every 5 seconds)
```sh
watch -n5 cron-get-webcam.py folder http://example.org/webcam-url.jpg
```### Cron (every minute)
```sh
crontab -e
* * * * * cron-get-webcam.py folder http://example.org/webcam-url.jpg
```> by terorie, 2019
>
> also check out https://github.com/The-Eye-Team and https://the-eye.eu