remote bash script and downloads image from url using python requests and os
sudo python3 url.py
Change the parent directory in url.py to the directory of your choice. A lot of the directories are hardcoded. This needs to be changed as there is a python system module that can choose the directory no matter what the user name is.