import requests
# Set the URL you want to access
url = 'https://quakelab.ca/members-home'
# Set the headers, including the SiteUserInfo cookie
headers = {
'Cookie': 'SiteUserInfo=your_encoded_value_here', # Replace with the actual value
'User-Agent': 'Your User Agent Here', # Replace with your desired User Agent
}
# Make the request
response = requests.get(url, headers=headers)
# Check the response
if response.status_code == 200:
print("Access granted:")
print(response.text) # or process the response as needed
else:
print(f"Failed to access the page. Status code: {response.status_code}")