photobygeo /

Filename Size Date modified Message
1.1 KB
5.5 KB

Parsing photos from Instagram and VK by geographic coordinates.

Default Settings:

INSTAGRAM_ACCESS_TOKEN = 'YOUR_INSTAGRAM_TOKEN'
DISTANCE = '100'
TIME_INCREMENT = 60*60*24

If you want to parse instagram, you should set INSTAGRAM_ACCESS_TOKEN. Without access_token program parses VK only.

All results saves to HTML file.

Example:

python photobygeo.py 55.740701 37.609161 1400619600 1400792400

The console log:

1.png

The console help:

2.png

The result looks like this:

screenshot2.png

Problem with parsing of instagram (26.06.2016 UPDATED)

If you have problems with parsing of instgram, it may be troubles with permissions. For solving problem just open this link:

https://www.instagram.com/oauth/authorize/?client_id=[CLIENT_ID]&redirect_uri=http://localhost/&response_type=token&scope=public_content

  • change [CLIENT_ID] to your client id