Commit b7209c36 authored by litaolemo's avatar litaolemo

update

parent 5b523359
......@@ -130,11 +130,11 @@ class Crawler_xiaohongshu():
output_to_es_register=False,
push_to_redis=False, proxies_num=None, **kwargs):
self.driver.get("https://www.xiaohongshu.com/")
self.driver.implicitly_wait(1)
time.sleep(0.5)
self.driver.implicitly_wait(2)
time.sleep(1)
self.driver.get(releaserUrl)
self.driver.implicitly_wait(1)
time.sleep(0.5)
self.driver.implicitly_wait(2)
time.sleep(1)
self.driver.refresh()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment