Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/riconem/instapost
Short Python script to post pictures automatically on Instagram.
https://github.com/riconem/instapost
instapy python raspberry-pi selenium
Last synced: 7 days ago
JSON representation
Short Python script to post pictures automatically on Instagram.
- Host: GitHub
- URL: https://github.com/riconem/instapost
- Owner: riconem
- Created: 2019-05-27T21:04:54.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-21T08:24:20.000Z (over 4 years ago)
- Last Synced: 2024-12-12T12:11:04.842Z (2 months ago)
- Topics: instapy, python, raspberry-pi, selenium
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
###### Update: This script isn't working anymore! 😐
# InstaPost
Short Python script to post pictures automatically on Instagram.
The main code is based on Tim Grossmanns automated Instagram Tool https://github.com/timgrossmann/InstaPy.# Installation on Rasbian Desktop
A desktop environment is required for this script. I wasn't able to get it working in the background. :D
```
git clone "https://github.com/riconem/InstaPost.git"
cd InstaPost
chmod +x install.sh
./install.sh
```
# Setup your posts
Add your files you want to upload in ```files/queue```.
Edit login and hashtag in ```quickpost.py ``` or ```post24.py```.
```
hashtags = "#hashtag1, #hashtag2, #hashtag3"
name = 'name'
pwd = 'password'
```
## Execute
If you want to execute via ssh, export your Display variable
```
export DISPLAY="0.0"
python quickpost.py
```
## Execute by crontab weekly
```
crontab -e
```
Add your cronjob. This example will execute the script every Tuesday on 4 PM.
```
0 16 * * TUE /home/pi/InstaPost/post.sh
```