0w0

[selenium] zzzscore.com/color/ 2 솔랑솔랑 본문

Coding/Python

[selenium] zzzscore.com/color/ 2 솔랑솔랑

0w0 2019. 8. 14. 02:22
728x90
반응형
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#http://zzzscore.com/color/
 
 
 
import sys, io, time
from selenium import webdriver
from collections import Counter
 
bs_driver=webdriver.Chrome('C:\Workspace\webdriver\chrome\chromedriver')
 
bs_driver.get('http://zzzscore.com/color/#')
 
def click_color():
    bs_driver.find_element_by_class_name('main').click()
 
#main
start_time=time.time()
 
while time.time()-start_time<=60:
    click_color()
cs
728x90
반응형
Comments