S
S
S1231232020-08-16 13:47:10
Python
S123123, 2020-08-16 13:47:10

How to open media from instagram explore page in python?

Using Selenium I open an explore page, but how do I click on recommended videos and photos? I want to implement the ability to open a video or photo in turn, like and comment, and then move on to the next post. I open explore the instagram page using browser.get(' https://www.instagram.com/explore/ '), and then I don’t know how. Any ideas?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
soremix, 2020-08-16
@SoreMix

Find the photos / videos you need. Call the click() method on those elements.
https://www.edureka.co/blog/how-to-find-elements-i...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question