For educational purposes, I am trying to parse the auto-ads site https://ab.onliner.by , the purpose of the parsing is to get links to cars, the link looks like " https://ab.onliner.by/car/ID ". When analyzing the site through the browser, it is clearly seen that the desired machine ID resides inside the tag:
<a href="/car/4164123"><img width="80" height="80" src="https://content.onliner.by/automarket/2218487/80x80/496c37de7ec4ec3eabf6eb66e6c9bb24.jpeg"></a>
The problem is that this tag is not in the returned HTML code.
import requests from bs4 import BeautifulSoup def get_html(url): response = requests.get(url) return response.text print(get_html('https://ab.onliner.by'))
Actually there are questions that I am missing / doing wrong?