FB Marketplace crawler
This commit is contained in:
parent
5c341453ac
commit
e24550614f
|
@ -55,7 +55,8 @@ class FbMarketplaceProducts:
|
|||
|
||||
####### Scroll down using Page Down key
|
||||
html_element = self.driver.find_element(By.TAG_NAME, 'html')
|
||||
for _ in range(1000):
|
||||
for x in range(300):
|
||||
logging.info("Pagedown count: {}".format(x))
|
||||
html_element.send_keys(Keys.PAGE_DOWN)
|
||||
time.sleep(random.randint(1,3))
|
||||
|
||||
|
|
Loading…
Reference in New Issue