1)
you have the wrong link for changing page numbers
try:
2)
You only have to add the data-id attribute to obtain that part
you have the wrong link for changing page numbers
try:
https://www.otodom.pl/wynajem/mieszkanie/krakow/?search%5Bdescription%5D=1&search%5Bsubregion_id%5D=410&search%5Bcity_id%5D=38&page=5as opposed to:
https://www.otodom.pl/wynajem/mieszkanie/krakow/?search%5Bdescription%5D=1&search%5Bsubregion_id%5D=410&search%5Bcity_id%5D=38#form&page=5omitting the
#form
part2)
You only have to add the data-id attribute to obtain that part
house.find('a',class_="button-observed observe-link favourites-button observed-text")['data-id']
Output:metulburr@ubuntu:~$ python3.6 forum11.py
<Response [200]>
59342283
Recommended Tutorials: