When scraping HTML with pyquery, is there a way to set the browser string when I retrieve the page?
import pyquery
pqobj = pyquery.PyQuery(url="https://www.google.com/")
html = pqobj.html()
plain_text = pqobj.text()
The browser string can be anything, I just want it to look like my scrape comes from a real web browser.
Use the headers option...