Hello everyone I have a bit of a specific question to ask today, how do I scrape the data from a website that is consistently changing, such as an online gambling site. When I execute this code I wrote
import requests
from bs4 import BeautifulSoup
def ColorRequest():
url = 'http://csgoroll.com/#/' # Could add a + pls str(pagesomething) to add on to the url so that it would update
sourcecode = requests.get(url) #requests the data from the site
plaintext = sourcecode.text #imports all of the data gathered
soup = BeautifulSoup(plaintext, 'html.parser') #This hold all of the data, and allows you to sort through all of the data, converts it
for links in soup.findAll():
print(links)
ColorRequest()
I get a html output of the page, but I am looking for the elements that are being displayed after the page loads, not what makes up that page.
Any experienced Python developers ever run into this problem and would please help an inexperienced programmer out?