P
P
plusf2p2020-07-08 15:34:50
Python
plusf2p, 2020-07-08 15:34:50

I can not find the necessary tags in which information (bs4). What to do?

url = 'https://market.yandex.ru/catalog--noutbuki-v-beloretske/54544/list?hid=91013&page=2&onstock=1'
r = requests.get(url)
soup = BeautifulSoup(r, 'lxml')
cards = soup.find_all('article', class_ = '_1_IxNTwqll')
print(cards)
# Выводит: []

I can’t find article tags on the site using soup.find_all()
Here is the site: https://market.yandex.ru/catalog--noutbuki-v-belor...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-07-08
@SoreMix

Print the contents
r.text
and see that there is nothing there

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question