Giter VIP home page Giter VIP logo

ananya-0306 / instagram_reels_downloader Goto Github PK

View Code? Open in Web Editor NEW
19.0 3.0 8.0 1.36 MB

Here, let’s save reels from Instagram as they cannot be saved over the app itself, we can actually download them!

License: GNU General Public License v3.0

Python 100.00%
instagram reels-downloader trending-repositories forked-repo open-source clone-coding python-3 pythonbeginner collageproject forbegginers

instagram_reels_downloader's Introduction

Instagram Reels Downloader

Instagram Reels Downloader

You all are now aware that there is a number of python libraries to get creative and solve some real-life problems with code! Do you hear about libraries like Insta Bot, instaloader, instascrape?? As their name seems, they provide Instagram API.

You can download profile pic, posts, igtv’s, highlights, stories and keep track of comments, views, likes not only of your favorite celebrity i.e. people with public accounts but also private accounts! These libraries provide you the facility to do so! Here, let’s save reels from Instagram as they cannot be saved over the app itself, we can actually download them! Here, we will download reels of public accounts. You can download of privately but it would require the user id and password of your insta account. Here, let’s save reels from Instagram as they cannot be saved over the app itself, we can actually download them!

Development Tutorial

Follow the steps : https://develover.hashnode.dev/download-instagram-reels-using-python

Installation

Use the package manager pip to install Instagram Reels Downloader.

pip install instascrape

Usage

Download the repository locally, then we need to pass the session id into the headers as follows:
Note: SessionID changes every time when you log out. Make sure that you provide the id at the time when you are logged in.

SESSIONID = "{your session id}"
            headers = {
            "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.74 Safari/537.36 Edg/79.0.309.43",
            "cookie":f'sessionid={SESSIONID};'
            }
google_reel.scrape(headers=headers)

Now, open the terminal by searching for it in the dashboard or pressing Ctrl + Alt + T . Navigate the terminal to the directory where the project is located using the cd command. Type

python instareels/reels.py

in the terminal to execute the script.

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

GNU General Public License v3.0

instagram_reels_downloader's People

Contributors

ananya-0306 avatar chasewrennufl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

instagram_reels_downloader's Issues

Webapp

what do I need to do to make this work on a web app

This will not work this useful for certain time of period

Appreciated your code but after scraping insta webpage more than 3 or 4 times webpage session id will be blocked if u want to solve this issue u need to create request which will login logout insta id every insta-scrap request because of this every login request new session id will be generated.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.