A flask app which asks you the url of the instagram picture and returns the picture which you can download and share. It works only for public accounts. Private accounts doesn't get affected.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
You need to have various python libraries, few important are
- python3 (everything is in python3, my default python verison is 3.6.7 and my deafult pip is pi3)
- a virtual environment (detailed in the Installing part)
- Flask (framework)
- requests and bs4 (modules)
- First of all you need to setup your virtual environment. (setup and activate)
pyvenv-3.6 ihenv
Install the python virtual environment setup using this command sudo apt install python3.6-venv
source ihenv/bin/activate
- Install all the dependencies, python modules
pip3 install -r requirements
- Run the python app
python3 app.py
Now, the app should be running on the localhost, browse to to the link where your app is running. (most probably, http://127.0.0.1:5000/)
- Once the site is running live. Give your desired instagram picture url and click on Submit button. It will return the high quality original picture.
- If you are using any other module for implementing any new features, please install the modules in the virtual environment and update it in the requirements.txt by using the below command.
pip freeze > requirements.txt
If you are really interested in contributing to the please follow the below steps and rules.
- Fork the project. (Give a star ⭐ to the repo before you fork :P)*
- Clone it.
git clone https://github.com/<username>/instahack-flask/
- Look for any issues clicking the issues tab. Go through it and assign take one. Make sure you get assigned or atleast say that you are gonna work on it.
- Always create a new branch and work on the feature or bug. Check this if you are not that familiar with branching, Git Branching
- Please follow the template created for raising issues or sending pull requests.
- Venu Vardhan - Initial work - vchrombie
This project is licensed under the MIT License - see the LICENSE.md file for details
- References: How to Download Instagram Photos. Tried to automate one of the methods using python.