Loading... 环境:anaconda py3.6 库的使用:time,selenium(本人使用火狐) 17ce限制:5分钟不能提交20次,time设置15秒 ```python import time from selenium import webdriver driver = webdriver.Firefox(executable_path=r'C:\Users\31565\1a python笔记本\学习笔记存放处\必要依赖\geckodriver.exe') #地址改成自己的,程序没有,请在github上搜索 driver.get("http://17ce.com") inputs = driver.find_element_by_id("url") #找到填写框 inputs.send_keys("http://dh1.zh52.cn/site_68.html") #填写框填写内容 from selenium.webdriver.common.keys import Keys #导入键盘操作的库 inputs.send_keys(Keys.ENTER) #回车操作 while True: driver.find_element_by_id("btn_wr").click() #找到按钮的位置,然后点击操作 time.sleep(15)#15秒休息! ``` Last modification:July 25, 2021 © Allow specification reprint Support Appreciate the author AliPayWeChat Like 如果觉得我的内容对你有用,请随意赞赏
One comment
http://push2.eastmoney.com/api/qt/clist/get?cb=jQuery11230003259175384843882_1627618248313&fid=f62&po=1&pz=50&pn=1&np=1&fltt=2&invt=2&ut=b2884a393a59ad64002292a3e90d46a5&fs=m%3A0%2Bt%3A6%2Bf%3A!2%2Cm%3A0%2Bt%3A13%2Bf%3A!2%2Cm%3A0%2Bt%3A80%2Bf%3A!2%2Cm%3A1%2Bt%3A2%2Bf%3A!2%2Cm%3A1%2Bt%3A23%2Bf%3A!2%2Cm%3A0%2Bt%3A7%2Bf%3A!2%2Cm%3A1%2Bt%3A3%2Bf%3A!2&fields=f12%2Cf14%2Cf2%2Cf3%2Cf62%2Cf184%2Cf66%2Cf69%2Cf72%2Cf75%2Cf78%2Cf81%2Cf84%2Cf87%2Cf204%2Cf205%2Cf124%2Cf1%2Cf13