Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import urllib.request # the lib that handles the url stuff
- minprice = 1000000
- webUrl = urllib.request.urlopen(f'https://realty.yandex.ru/moskva_i_moskovskaya_oblast/snyat/kvartira/tryohkomnatnaya/?utm_source=tenant_landing_arenda&yandexRent=YES&priceMax={minprice}')
- print("result code: ", webUrl.getcode())
- data = webUrl.read().decode('utf8')
- print(data)
Advertisement
Advertisement
Advertisement
RAW Paste Data
Copied
Advertisement