I have used below How to read html from a url in python 3 example for web scraping.
import urllib.request
fp = urllib.request.urlopen("https://www.realestate.com.au/rent")
mybytes = fp.read()
mystr = mybytes.decode("utf8")
fp.close()
print(mystr)
Above code is working fine but, when I used URL https://www.realestate.com.au/rent/list-1, I am not able to scrape data from the website.
Thanks to all in advance.