Skip to content

DeadNumbers/photobygeo.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 

Repository files navigation

Parsing photos from Instagram and VK by geographic coordinates.

Default Settings:

#!python

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages