Skip to content

Link verification option added#4

Merged
gaetan1903 merged 2 commits into
mainfrom
verification
Sep 5, 2021
Merged

Link verification option added#4
gaetan1903 merged 2 commits into
mainfrom
verification

Conversation

@gaetan1903

Copy link
Copy Markdown
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
Copy Markdown
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.

1 participant