# https://docs.python-requests.org/en/master/user/quickstart/#passing-parameters-in-urls params = { "q": "richard branson", # search query "tbm": "bks", # book results "gl": "us", # country to search from "hl": "en" # language } # https://requests.readthedocs.io/en/master/user/quickstart/#custom-headers headers = { "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.87 Safari/537.36", }
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter