Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23276

Parsing topselling games from Steam

$
0
0

I need to get a list of games and put into the data base, which contains info about gameThere is a link: https://store.steampowered.com/charts/topselling/global

import requestsfrom bs4 import BeautifulSoupurl = 'https://store.steampowered.com/charts/topselling/global'headers = {'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64;rv:126.0) Gecko/20100101 Firefox/126.0'}response = requests.get(url, headers=headers)soup = BeautifulSoup(response.text, 'html.parser')soup

Not enough info I need using this code;

Games are 'tr' tag:enter image description here


Viewing all articles
Browse latest Browse all 23276

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>