0

これが私のコードです:

from selenium import webdriver
import bs4
from bs4 import BeautifulSoup
import time

driver = webdriver.Chrome()
driver.get("https://www.roobet.com/crash")
time.sleep(3)
html = driver.page_source
soup = BeautifulSoup(html,features="html5lib")
crash = soup.find('div', class_ = 'MuiButton-label')
num = crash.div.text
num.replace('x','')
print(num)

検査・参考画像

行は各ラウンド後に更新され続けます。私の目標は、コードを実行したままにして各乗数を収集し、すべての乗数が収集された特定の時点で終了することです。

4

1 に答える 1