Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found 0 links to images #5

Open
9scorp4 opened this issue Jan 30, 2023 · 2 comments
Open

Found 0 links to images #5

9scorp4 opened this issue Jan 30, 2023 · 2 comments

Comments

@9scorp4
Copy link

9scorp4 commented Jan 30, 2023

Hello,

I tried the code as updated by december 2022, but it seems it isn't capable to capture images anymore as every time I run the code I always get this output:

added 0 links
added 0 links
added 0 links
added 0 links
added 0 links
Found 0 links to images

Help pls.

@MariyaSha
Copy link
Owner

Hi @9scorp4 😊
I can't seem to re-create this issue, I just ran it and everything works as expected...

added 21 links
added 33 links
Found 54 links to images
['https://www.instagram.com/p/CoCk5OXJFts/',
 'https://www.instagram.com/p/CoD7s4iJMEE/',
 'https://www.instagram.com/p/CoEBIshvx7S/',
 'https://www.instagram.com/p/CoD8qWpSDUZ/',
 'https://www.instagram.com/p/CoDc-E7S9yy/']

Can you try to boost the time.sleep() wait to 5 or 10 seconds?
In terms of specs, I ran it with Python 3.9.7 and Selenium 4.3.0, I just fill in the username + password and then cell -> run all.
Please let me know if boosting the wait or adjusting to the above specs worked ;)

@9scorp4
Copy link
Author

9scorp4 commented Jan 31, 2023

I boosted all time.sleep() methods to 10 seconds but it still doesn't work :( is it because I'm trying to scrape a profile instead of a hashtag?

I think I use Python 3.11 and I don't know where to find the specs for Selenium. How can I find those? How can I change the specs?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants