๐Ÿ“– Python Web Scraping /
Module: Web Scraping

Finding the URL

๐Ÿ“– Python Web Scraping / Web Scraping / Finding the URL

Example: Web Search Python Documentation Site

import webbrowser

query = input("Please input search query to search Python doc. ")

url = f"https://docs.python.org/3/search.html?q={query}&check_keywords=yes&area=default"

webbrowser.open(url)