Thursday, 13 October 2016

Easy steam scraping with BeautifulSoup


I wanted to make a sensor for my steam account to use for future projects. After some googling i found BeautifulSoup. I framework to search with in text/html and xml. After some fiddling i got it working. To get steam working you need a working public profile page.

Install BeautifulSoup

sudo apg-get update -y && sudo atp-get upgrade -y && sudo apt-get install python-bs4 -y

Steam scraper

Will return blank if Im not playing anything or the name of the game if im playing.

Referance
https://www.crummy.com/software/BeautifulSoup/bs4/doc/

No comments:

Post a Comment