Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

3 Commits

Repository files navigation

Scraper

code usage example

importasynciodefmain():
URL="http://localhost:8080/search"# searxngquery= (
"text here"
)
data=fetch_search_results(URL, query)
output=extract_relevant_fields(data)
urls=list(output["results"].values())
extracted_texts=asyncio.run(extract_text_from_urls(urls))
forurl, textinextracted_texts.items():
print(f"Extracted content from {url}:\n{text}\n")
if__name__=="__main__":
main()

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages