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

How to go to the next post if one of the post can't load #24

Closed
ihcsankml opened this issue Jan 24, 2019 · 2 comments
Closed

How to go to the next post if one of the post can't load #24

ihcsankml opened this issue Jan 24, 2019 · 2 comments

Comments

@ihcsankml
Copy link

Hi Huaying,

I have a problem, if the internet connection is slow. When the i use the post_full, crawler trying to get the some post, but suddenly one of the post didn't load, and it suddenly return an error because it can't get the None Type element.

Is there any way to overcome it by going to the next Post if its return None? I already tried to edit the wait time parameter to 120 in findone method, but its same, the post just can't be loaded and in the end return None Type object.

Thank you

@huaying
Copy link
Owner

huaying commented Jan 26, 2019

Yeah It might be a good suggestion.
For now, if you want to recover the data that you already crawled, you can try to find it from /tmp/instagram-crawler-{TIMESTAMP}. The data format might be different though.

@huaying
Copy link
Owner

huaying commented Mar 18, 2019

close this because we actually can't go to next post if the current post couldn't be loaded

@huaying huaying closed this as completed Mar 18, 2019
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