Skip to content

Commit

Permalink
Merge pull request #518 from sagarbadiyani/skip-locations-without-add…
Browse files Browse the repository at this point in the history
…ress

Fix addrs command - Missing Details for given Lat-Lon
  • Loading branch information
Datalux authored Aug 17, 2022
2 parents 4b992c9 + 918bfd3 commit be821b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Osintgram.py
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,8 @@ def get_addrs(self):
address = {}
for k, v in locations.items():
details = self.geolocator.reverse(k)
if not details:

This comment has been minimized.

Copy link
@webnow360

webnow360 Mar 25, 2023

h

continue
unix_timestamp = datetime.datetime.fromtimestamp(v)
address[details.address] = unix_timestamp.strftime('%Y-%m-%d %H:%M:%S')

Expand Down

1 comment on commit be821b5

@webnow360
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yes

Please sign in to comment.