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

Link verification option added #4

Merged
merged 2 commits into from
Sep 5, 2021
Merged

Link verification option added #4

merged 2 commits into from
Sep 5, 2021

Conversation

gaetan1903
Copy link
Member

For each link obtained after research, a check is made for each link to ensure that the link obtained is a direct link from the attachment of the format in question.
However, an option to prevent the execution of this functionality has been implemented, because the execution time will be impacted since the code must make a one-to-one request for these links.

the added option is to put a verif = False at the initialization of the search.

from websearch import WebSearch
web = WebSearch('Math 220', verif=False)

@gaetan1903 gaetan1903 changed the title Option de passer la verification de lien. Link verification option added Sep 5, 2021
@gaetan1903 gaetan1903 merged commit 1c888ab into main Sep 5, 2021
@gaetan1903 gaetan1903 deleted the verification branch September 5, 2021 15:40
@gaetan1903
Copy link
Member Author

image
Execution time saved for an environment with poor Internet connection quality.

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 this pull request may close these issues.

None yet

1 participant