Hi,
I need help, i have this code to extract my follows with scroll down
I need help, i have this code to extract my follows with scroll down
# Scroll Down to Verify How Many Followers
fBody = driver.find_element_by_xpath("//div[@class='isgrP']")
scroll = 0
while scroll < 15:
driver.execute_script('arguments[0].scrollTop = arguments[0].scrollTop + arguments[0].offsetHeight;', fBody)
time.sleep(0.1)
scroll += 1but when i try to do the some in Post to get the People Likes, don't work # Scroll Down to Verify How Many Likes
fBody = driver.find_element_by_xpath("//div[@class='_1XyCr']")
scroll = 0
while scroll < 15:
driver.execute_script('arguments[0].scrollTop = arguments[0].scrollTop + arguments[0].offsetHeight;', fBody)
time.sleep(0.1)
scroll += 1Can help me ?
