Download all images from a pixelfed profile.
Install git
and virtualenv
sudo apt-get install git virtualenv
Clone the repository.
git clone [email protected]:AmmanVMS/pixelfed-account-image-download.git
Setup the repository Python environment
virtualenv -p python3 ENV
source ENV/bin/activate
pip install -r requirements.txt
Edit the parameters in schedule.sh
Schedule the update:
crontab -e
Add this for updating each minute:
* * * * * /home/pi/pixelfed-account-image-download/schedule.sh
You will to retrieve an API token and put it into secret.txt
from
pix.toot.wales/settings/applications or
any other server as such.
python3 download.py /path/to/images/folder https://pixelfed.server username@instance secret.txt