mirror of
https://github.com/NaiboWang/EasySpider.git
synced 2025-04-23 04:34:22 +08:00
Bug fix for scroll down
This commit is contained in:
parent
e912c78b6a
commit
8c7fc02cef
@ -416,6 +416,10 @@ class BrowserThread(Thread):
|
|||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
scrollType = int(para["scrollType"])
|
scrollType = int(para["scrollType"])
|
||||||
|
try:
|
||||||
|
para["scrollCount"] = int(para["scrollCount"])
|
||||||
|
except:
|
||||||
|
para["scrollCount"] = 1
|
||||||
try:
|
try:
|
||||||
if scrollType != 0 and para["scrollCount"] > 0: # 控制屏幕向下滚动
|
if scrollType != 0 and para["scrollCount"] > 0: # 控制屏幕向下滚动
|
||||||
if scrollType == 1 or scrollType == 2:
|
if scrollType == 1 or scrollType == 2:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user