site

text for beau's website
git clone https://git.beauhilton.com/site.git
Log | Files | Refs

commit 014ba52ee085668e11d8695fbbd071ef6476f45c
parent aecc7f672e5e19e38d959dcb6a261a714e41280b
Author: Beau <cbeauhilton@gmail.com>
Date:   Mon, 27 Sep 2021 19:29:55 -0500

more better links

Diffstat:
Mposts/geocheatcode.md | 7+++++--
1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/posts/geocheatcode.md b/posts/geocheatcode.md @@ -143,14 +143,17 @@ Google is *really* good at search. ## How does the code work? -If you [inspect the source HTML](view-source:https://www.google.com/maps/search/something+whose+latitude+and+longitude+you+would+like+to+know,+maybe+VUMC+Internal+Medicine/) +If you inspect the source HTML on the Google Maps website -after you search for [something](https://www.google.com/maps?q=something+whose+latitude+and+longitude+you+would+like+to+know,+maybe+VUMC+Internal+Medicine) +after you search for something and it centers the map on its best guess, and you scroll way on down (or Ctrl-F search for it) you'll find `APP_INITIALIZATION_STATE`, which contains latitude and longitude for the place the map centered on. +- [example search](https://www.google.com/maps?q=something+whose+latitude+and+longitude+you+would+like+to+know,+maybe+VUMC+Internal+Medicine) +- [example source](view-source:https://www.google.com/maps/search/something+whose+latitude+and+longitude+you+would+like+to+know,+maybe+VUMC+Internal+Medicine/) + I use the lovely [`requests-html`](https://docs.python-requests.org/projects/requests-html/en/latest/) Python library