Skip to content

Commit 9005f24

Browse files
Update web_programming/crawl_google_results.py
Co-authored-by: Christian Clauss <[email protected]>
1 parent 7d4e99a commit 9005f24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web_programming/crawl_google_results.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
print(len(links))
2121
for link in links:
22-
if link.text == "Maps":
23-
webbrowser.open(f"{link.get('href')}")
24-
else:
22+
if link.text == "Maps":
23+
webbrowser.open(link.get('href'))
24+
else:
2525
webbrowser.open(f"http://google.com{link.get('href')}")

0 commit comments

Comments
 (0)