Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
FIX typos readme
Lorenzo Padoan658545716e4b
diff --git a/README.md b/README.mdindex e856ecdb..5da357b8 100644--- a/README.md+++ b/README.md@@ -7,7 +7,7 @@[](https://discord.gg/gkxQDAjfeX)-ScrapeGraphAI is a *web scraping* python library which uses LLM and direct graph logic to create scraping pipelines for websites, documents and XML files.+ScrapeGraphAI is a *web scraping* python library that uses LLM and direct graph logic to create scraping pipelines for websites, documents and XML files.Just say which information you want to extract and the library will do it for you!<p align="center">@@ -17,7 +17,7 @@ Just say which information you want to extract and the library will do it for yo## 🚀 Quick install-The reference page for Scrapegraph-ai is avaible on the official page of pypy: [pypi](https://pypi.org/project/scrapegraphai/).+The reference page for Scrapegraph-ai is available on the official page of pypy: [pypi](https://pypi.org/project/scrapegraphai/).```bashpip install scrapegraphai@@ -43,7 +43,7 @@ Check out also the docusaurus [documentation](https://scrapegraph-doc.onrender.cYou can use the `SmartScraper` class to extract information from a website using a prompt.The `SmartScraper` class is a direct graph implementation that uses the most common nodes present in a web scraping pipeline. For more information, please see the [documentation](https://scrapegraph-ai.readthedocs.io/en/latest/).-### Case 1: Extracting informations using Ollama+### Case 1: Extracting information using OllamaRemember to download the model on Ollama separately!```pythonfrom scrapegraphai.graphs import SmartScraperGraph@@ -53,12 +53,12 @@ graph_config = {"model": "ollama/mistral","temperature": 0,"format": "json", # Ollama needs the format to be specified explicitly- "base_url": "http://localhost:11434", # set ollama URL arbitrarily+ "base_url": "http://localhost:11434", # set Ollama URL arbitrarily},"embeddings": {"model": "ollama/nomic-embed-text","temperature": 0,- "base_url": "http://localhost:11434", # set ollama URL arbitrarily+ "base_url": "http://localhost:11434", # set Ollama URL arbitrarily}}@@ -74,9 +74,9 @@ print(result)```-### Case 2: Extracting informations using Docker+### Case 2: Extracting information using Docker-Note: before using the local model remeber to create the docker container!+Note: before using the local model remember to create the docker container!```textdocker-compose up -ddocker exec -it ollama ollama run stablelm-zephyr@@ -106,7 +106,7 @@ print(result)```-### Case 3: Extracting informations using Openai model+### Case 3: Extracting information using Openai model```pythonfrom scrapegraphai.graphs import SmartScraperGraphOPENAI_API_KEY = "YOUR_API_KEY"@@ -129,7 +129,7 @@ result = smart_scraper_graph.run()print(result)```-### Case 4: Extracting informations using Gemini+### Case 4: Extracting information using Gemini```pythonfrom scrapegraphai.graphs import SmartScraperGraphGOOGLE_APIKEY = "YOUR_API_KEY"@@ -153,7 +153,7 @@ result = smart_scraper_graph.run()print(result)```-The output for alle 3 the cases will be a dictionary with the extracted information, for example:+The output for all 3 the cases will be a dictionary with the extracted information, for example:```bash{@@ -168,9 +168,9 @@ The output for alle 3 the cases will be a dictionary with the extracted informat## 🤝 Contributing-Fell free to contribute and join our Discord server to discuss with us improvements and give us suggestions!+Feel free to contribute and join our Discord server to discuss with us improvements and give us suggestions!-For more information, please see the [contributing guidelines](https://github.com/VinciGit00/Scrapegraph-ai/blob/main/CONTRIBUTING.md).+Please see the [contributing guidelines](https://github.com/VinciGit00/Scrapegraph-ai/blob/main/CONTRIBUTING.md).[](https://discord.gg/gkxQDAjfeX)[](https://www.linkedin.com/company/scrapegraphai/)@@ -187,7 +187,7 @@ If you have used our library for research purposes please quote us with the folltitle = {Scrapegraph-ai},year = {2024},url = {https://github.com/VinciGit00/Scrapegraph-ai},- note = {A Python library for scraping data from graphs}+ note = {A Python library for scraping leveraging large language models}}```