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

[Feature Request]: Could we use different URL from search results when the first link can't be accessed via CURL #5

Closed
maheshhp opened this issue Mar 4, 2023 · 2 comments · Fixed by #7

Comments

@maheshhp
Copy link

maheshhp commented Mar 4, 2023

When I try to search for exit, it tries to fetch content from the first search result and get's stuck in the process since CURL is not allowed. It could probably skip this link and try with the next one if this happens?

image

image

@lxfriday
Copy link

Perhaps the code can detect the returned HTTP status code and retry subsequent links up to three times if it is not met?

@tobiasbueschel
Copy link
Owner

Thanks @maheshhp for raising this & great idea @lxfriday - I've just pushed a fix for this issue: 8e48f80

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

Successfully merging a pull request may close this issue.

3 participants