0

In this case I want to create a script that will find the prices off of the steam marketplace for a certain item.

import urllib2
import re
urllib2.Request("https://steamcommunity.com/market/listings/730/Dual%20Berettas%20%7C%20Dualing%20Dragons%20%28Battle-Scarred%29")
response = urllib2.urlopen(req)
the_page = response.read()
re.findall('class="market_listing_price market_listing_price_with_fee"',the_page)

So this gives me a list with all of the times that the string is repeated in the html. the follow up (which I am looking for in the html file) is:

                    0,10€                   

How can I obtain these prices from the html file?

Tersely
  • 1
  • 3

0 Answers0