Answer the question
In order to leave comments, you need to log in
How to increase the number of uploaded photos in Yandex images for parsing?
The problem is that in Yandex you need to scroll down to upload new photos, but how to do this for the parser?
If you do not upload new pictures, then their number will be limited and the pictures themselves will be the same.
I understand that the java script is loading, but I can’t find it anywhere in the html code, if so, please name the script and how to activate it using request or in some other way.
Answer the question
In order to leave comments, you need to log in
how to activate it with request or in some other way
from selenium import webdriver
from selenium.webdriver.common.keys import Keys
driver = webdriver.Firefox()
driver.get("http://www.python.org")
assert "Python" in driver.title
elem = driver.find_element_by_name("q")
elem.clear()
elem.send_keys("pycon")
elem.send_keys(Keys.RETURN)
assert "No results found." not in driver.page_source
driver.close()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question