ich arbeite momentan an einem Web Crawler für einen Kumpel von mir der die Steam Preise für bestimmte Items sich ziehen soll...
Aber mit folgendem Code:
Code: Alles auswählen
import requests
from bs4 import BeautifulSoup
url = "https://steamcommunity.com/market/listings/252490/Blackout%20Vest"
response = requests.get(url)
html = BeautifulSoup(response.text, "html.parser")
buyPrice = html.find_all("span", class_="market_commodity_orders_header_promote")
allBuyPrices = list()
for price in buyPrice:
allBuyPrices.append(price.text)
print(allBuyPrices)
Danke!