Skip to content

Commit

Permalink
Merge pull request #27 from Jigsaw-Code/fortuna-patch-1
Browse files Browse the repository at this point in the history
Update Google Traffic API location
  • Loading branch information
fortuna authored Jul 15, 2022
2 parents 0f9c75c + c71a240 commit 61dca80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netanalysis/traffic/data/api_repository.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ class ApiTrafficRepository(model.TrafficRepository):
"""TrafficRepository that reads the traffic data from Google's Transparency Report."""

def _query_api(self, endpoint, params=None):
query_url = "https://www.google.com/transparencyreport/api/v3/traffic/" + \
query_url = "https://transparencyreport.google.com/transparencyreport/api/v3/traffic/" + \
quote(endpoint)
if params:
query_url = query_url + "?" + urlencode(params)
Expand Down

0 comments on commit 61dca80

Please sign in to comment.