Answer the question
In order to leave comments, you need to log in
How to parse the price of an item on Steam?
Please help, I've been suffering for a week now. How to parse the 'Starting Price' of a sale. When trying to parse, python outputs an empty string.
import requests
from bs4 import BeautifulSoup as bs
url = 'https://steamcommunity.com/market/listings/730/CS20%20Case' # Ссылка на кейс
r = requests.get(url).text # Запрос на получение html
print(r) # Вывод html
soup = bs(r,'html.parser')
search = soup.find('div', class_='market_commodity_order_summary')
print(search.text)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question