I googled my user agent and put that code into my program but no luck
import requests
from bs4 import BeautifulSoup
URL = 'Servicenow blah blah'
headers = {
"User-Agent": Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:68.0) Gecko/20100101 Firefox/68.0'
}
page = requests.get(URL, headers=headers)
soup = BeautifulSoup(page.content, 'html.parser')
print(soup.prettify())
Very simple code so far.
Ultimately I am trying to get logged into this website (or even circumvent that by using a user-agent that is already logged in, if this is possible (This is my main question here)) and then parse the html for a certain element's html to monitor for changes
OR if there is a better, simpler tool for this I would LOVE to know
I'm seeing in the html that is printed "Your session has expired etc. etc."