semvec/pypi-packages huggingface dataset:
insta-scraper 1.1.7
A python tool to download instagram users media.
License: MIT
Keywords: instagram instagram-scraper

# Instagram Photos/Videos/Stories downloader

> A python tool to download instagram users media including their photos, videos and statuses/highlights. Requires Python2.7

**Features**

- Downloading of multiple users media is supported.
- Doesn't use Instagram API.
- Runs on Windows and Linux.

## Installation

This tool can be installed via `pip`

```bash
$ pip install insta-scraper
```

# Upgrade

If you are using older version of insta-scraper then you can upgrade it by using below command

```bash
$ pip install --upgrade insta-scraper
```

## Usage

To download a single user media

```bash
$ insta-scraper -u YOUR_INSTAGRAM_USERNAME -t TARGET_USERNAME
```


To download multiple users media

```bash
$ insta-scraper -u YOUR_INSTAGRAM_USERNAME -t TARGET_USERNAME TARGET_USERNAME1
```


Or you can even specify a file that contains target usernames seperated by newline.

```bash
$ insta-scraper -u YOUR_INSTAGRAM_USERNAME -f target_users.txt
```


You can execute below command to download all your instagram friends media once.

```bash
$ insta-scraper -u YOUR_INSTAGRAM_USERNAME
```


Here are the helpful arguments.

```

-u/--user		Instagram username which will be used for login

-t/--target-users	To specify one or more users followed by a space

-f/--filename		Filename containing instagram usernames followed by newline

-o/--output-dir		Output directory to store user's media.

```