A script download Bing's img and set as wallpaper
Project description
Requirements
Linux platform
Python 2.7
Requests lib
Usage
You need to set a directory to save the downloaded pictures, end with ‘/’.
$ wonderful_bing -d /path/to/save/pictures/
Snapshots
the first time you run it:
$ python wonderful_bing.py -d /home/lord63/pictures/bing/ Successfully download the picture to --> /home/lord63/pictures/bing/CascadePools.jpg Successfully set the picture as the wallpaper. :)
if you don’t set the directory:
$ python wonderful_bing.py -d /home/lord63/pictures/bing/ Set the directory to save Bing's imgs first. For more information, use --help.
if the picture has been downloaded before:
$ python wonderful_bing.py -d /home/lord63/pictures/bing/ You have downloaded the picture before. Have a look at it --> /home/lord63/pictures/bing/CascadePools.jpg
if your pc doesn’t connect to the network, it will try again after 5 mins.
$ python wonderful_bing.py -d /home/lord63/pictures/bing/ ConnectionError,check your network please. Will try again after 5 minutes.
License
MIT License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wonderful_bing-0.4.0.tar.gz
(128.7 kB
view details)
File details
Details for the file wonderful_bing-0.4.0.tar.gz.
File metadata
- Download URL: wonderful_bing-0.4.0.tar.gz
- Upload date:
- Size: 128.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb5d9dc9f81bde8352b03980f2f8e20cce08e1528d0fa940b00fc1034a444e1d
|
|
| MD5 |
863e9303843695603942d54ba4b5dcea
|
|
| BLAKE2b-256 |
5a71cb9df740ca4c42502a453ab1776c67a3df4fed76bd2cd2805b56ef56c93f
|