4 Commits

Author SHA1 Message Date
msramalho
bbe5c10d48 Bump version to v1.0.1 for release 2023-02-13 15:52:18 +00:00
msramalho
cc7fd99940 Bump version to v1.0.0 for release 2023-02-13 15:50:34 +00:00
msramalho
c77865e0c2 Bump version to v0.1.1 for release 2023-02-13 15:46:49 +00:00
msramalho
346b01481f ready 2023-02-13 15:46:35 +00:00
3 changed files with 6 additions and 10 deletions

View File

@@ -12,7 +12,7 @@ on:
release:
types: [published]
push:
branches: [ "main", "pypi" ]
branches: [ "main" ]
tags: [ "v*.*.*" ]
permissions:

View File

@@ -1,16 +1,12 @@
# Instagram Location Search
[![PyPI version](https://badge.fury.io/py/instagram-location-search.svg)](https://badge.fury.io/py/instagram-location-search)
<!-- [![Docker Image Version (latest by date)](https://img.shields.io/docker/v/bellingcat/instagram-location-search?label=version&logo=docker)](https://pypi.org/project/instagram-location-search/) -->
## Installation
This Python application can be installed from PyPI using pip, and can also be built into a Docker image
### Install with Pip
`pip3 install instagram-location-search`
`pip install instagram-location-search`
or the latest from the repo:
`pip3 install git+https://github.com/bellingcat/instagram-location-search`
`pip install git+https://github.com/bellingcat/instagram-location-search`
### Build Docker image
`docker build instagram-location-search .`
@@ -18,7 +14,7 @@ or the latest from the repo:
The following command will search for Instagram locations nearby the coordinates 32.22 N, 110.97 W (downtown Tucson, Arizona.) The list of locations is saved as a CSV file at "locs.csv".
```instagram-location-search --cookie "<instagram-cookies>" --lat 32.22 --lng -110.97 --csv locs.csv```
```instagram_locations --cookie "<instagram-cookies>" --lat 32.22 --lng -110.97 --csv locs.csv```
Note that this requires Instagram cookies in order to work! See below for how to obtain one from your account.
@@ -36,7 +32,7 @@ Using the `--map <output-location>` command line argument, a simple Leaflet map
Multiple types of output can be generated. For example, the following command will search for Instagram locations, save the JSON list, a CSV file, and a map for viewing the locations visually.
```instagram-location-search --cookie "<instagram-cookie>" --lat 32.22 --lng -110.97 --json locs.json --csv locs.csv --map map.html```
```instagram_locations --cookie "<instagram-cookie>" --lat 32.22 --lng -110.97 --json locs.json --csv locs.csv --map map.html```
## Sample Usage with `instagram-scraper`
The ID list generated with the `--ids` flag can be passed into `instagram-scraper` to pull down image metadata.

View File

@@ -3,7 +3,7 @@ _MAJOR = "1"
_MINOR = "0"
# On main and in a nightly release the patch should be one ahead of the last
# released build.
_PATCH = "0"
_PATCH = "1"
# This is mainly for nightly builds which have the suffix ".dev$DATE". See
# https://semver.org/#is-v123-a-semantic-version for the semantics.
_SUFFIX = ""