I am trying to obtain the html response from the following page
https://ghrc.nsstc.nasa.gov/pub/lis/iss/data/science/nqc/nc/2020/0101/
When I open this url in chrome, I have to enter username an password for the account I have with the site
I want to pass this username and password using urllib3 in python, my current code is
import urllib3
url = 'https://ghrc.nsstc.nasa.gov/pub/lis/iss/data/science/nqc/nc/2020/0101/'
username = ''
password = ''
data = {'Username': username, 'Password': password}
http = urllib3.PoolManager()
r = http.request('POST', url, data)
print(r.status)
print(r.data)
However running this still gives the response of the login page
I am not sure if i need to use cookies, or how to figure out what format the username and password need to be passed to the url for login to succeed and be taken to the url specified