Script to download current background from https://bing.com to be used as a wallpaper.
Running the script
Creating the environment
Either with conda
conda create -n bing -c defaults -c conda-forge python=3.7 requests beautifulsoup4 funcy
Or with pip
pip install funcy requests beautifulsoup4
We can now run the script from the conda environment or venv/python environment eg.
python bing_wallpaper.py --dest ~/Desktop
The next time macOS changes the wallpaper it should find the the new file and update the wallpaper, assuming it is configured to rotate the wallpaper using the script's destination directory as the source. I run this script every 5 minutes and have macOS configured to rotate the wallpaper every 15.
Also on my blog, https://blippy.net/2019/11/16/bing-wallpaper-on-a-mac-3-0/.