Python scraper based on AI
Python ai-crawlerai-scrapingai-searchcrawlerdata-extractionfirecrawl-alternativelarge-language-modelllmmarkdownragscrapingscraping-pythonweb-crawlerweb-crawlersweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
feat: update terms
Marco Vinciguerraff7b33b37672
diff --git a/README.md b/README.mdindex 00a169cb..a345061f 100644--- a/README.md+++ b/README.md@@ -93,7 +93,7 @@ The output will be a dictionary like the following:"description": "ScrapeGraphAI transforms websites into clean, organized data for AI agents and data analytics. It offers an AI-powered API for effortless and cost-effective data extraction.","founders": [{- "name": "Marco Perini",+ "name": "","role": "Founder & Technical Lead","linkedin": "https://www.linkedin.com/in/perinim/"},@@ -193,7 +193,7 @@ We collect anonymous usage metrics to enhance our package's quality and user expIf you have used our library for research purposes please quote us with the following reference:```text@misc{scrapegraph-ai,- author = {Marco Perini, Lorenzo Padoan, Marco Vinciguerra},+ author = {Lorenzo Padoan, Marco Vinciguerra},title = {Scrapegraph-ai},year = {2024},url = {https://github.com/VinciGit00/Scrapegraph-ai},@@ -203,14 +203,9 @@ If you have used our library for research purposes please quote us with the foll## Authors-<p align="center">- <img src="https://raw.githubusercontent.com/VinciGit00/Scrapegraph-ai/main/docs/assets/logo_authors.png" alt="Authors_logos">-</p>-| | Contact Info ||--------------------|----------------------|| Marco Vinciguerra | [](https://www.linkedin.com/in/marco-vinciguerra-7ba365242/) |-| Marco Perini | [](https://www.linkedin.com/in/perinim/) || Lorenzo Padoan | [](https://www.linkedin.com/in/lorenzo-padoan-4521a2154/) |## 📜 Licensediff --git a/docs/chinese.md b/docs/chinese.mdindex 5eb6460c..9eb6b73e 100644--- a/docs/chinese.md+++ b/docs/chinese.md@@ -195,7 +195,7 @@ print(result)如果您将我们的库用于研究目的,请引用以下参考文献:```text@misc{scrapegraph-ai,- author = {Marco Perini, Lorenzo Padoan, Marco Vinciguerra},+ author = {, Lorenzo Padoan, Marco Vinciguerra},title = {Scrapegraph-ai},year = {2024},url = {https://github.com/VinciGit00/Scrapegraph-ai},@@ -212,7 +212,7 @@ print(result)| | Contact Info ||--------------------|----------------------|| Marco Vinciguerra | [](https://www.linkedin.com/in/marco-vinciguerra-7ba365242/) |-| Marco Perini | [](https://www.linkedin.com/in/perinim/) |+| | [](https://www.linkedin.com/in/perinim/) || Lorenzo Padoan | [](https://www.linkedin.com/in/lorenzo-padoan-4521a2154/) |## 📜 许可证diff --git a/docs/japanese.md b/docs/japanese.mdindex 7279321f..1b4a911f 100644--- a/docs/japanese.md+++ b/docs/japanese.md@@ -195,7 +195,7 @@ print(result)研究目的で当社のライブラリを使用する場合は、以下の参考文献を引用してください:```text@misc{scrapegraph-ai,- author = {Marco Perini, Lorenzo Padoan, Marco Vinciguerra},+ author = {, Lorenzo Padoan, Marco Vinciguerra},title = {Scrapegraph-ai},year = {2024},url = {https://github.com/VinciGit00/Scrapegraph-ai},@@ -212,7 +212,7 @@ print(result)| | 連絡先 ||--------------------|----------------------|| Marco Vinciguerra | [](https://www.linkedin.com/in/marco-vinciguerra-7ba365242/) |-| Marco Perini | [](https://www.linkedin.com/in/perinim/) |+| | [](https://www.linkedin.com/in/perinim/) || Lorenzo Padoan | [](https://www.linkedin.com/in/lorenzo-padoan-4521a2154/) |## 📜 ライセンスdiff --git a/docs/korean.md b/docs/korean.mdindex 64c287a0..756b9e71 100644--- a/docs/korean.md+++ b/docs/korean.md@@ -211,7 +211,7 @@ graph LR우리의 라이브러리를 연구 목적으로 사용한 경우 다음과 같이 인용해 주세요:```text@misc{scrapegraph-ai,- author = {Marco Perini, Lorenzo Padoan, Marco Vinciguerra},+ author = {, Lorenzo Padoan, Marco Vinciguerra},title = {Scrapegraph-ai},year = {2024},url = {https://github.com/VinciGit00/Scrapegraph-ai},@@ -228,7 +228,7 @@ graph LR| | 연락처 ||--------------------|---------------|| Marco Vinciguerra | [](https://www.linkedin.com/in/marco-vinciguerra-7ba365242/) |-| Marco Perini | [](https://www.linkedin.com/in/perinim/) |+| | [](https://www.linkedin.com/in/perinim/) || Lorenzo Padoan | [](https://www.linkedin.com/in/lorenzo-padoan-4521a2154/) |## 📜 라이선스diff --git a/docs/russian.md b/docs/russian.mdindex ac16ef41..995916d8 100644--- a/docs/russian.md+++ b/docs/russian.md@@ -218,7 +218,7 @@ print(result)| | Контактная информация ||--------------------|------------------------|| Marco Vinciguerra | [](https://www.linkedin.com/in/marco-vinciguerra-7ba365242/) |-| Marco Perini | [](https://www.linkedin.com/in/perinim/) |+| | [](https://www.linkedin.com/in/perinim/) || Lorenzo Padoan | [](https://www.linkedin.com/in/lorenzo-padoan-4521a2154/) |## 📜 Лицензияdiff --git a/docs/source/conf.py b/docs/source/conf.pyindex f7d44113..790cfa15 100644--- a/docs/source/conf.py+++ b/docs/source/conf.py@@ -16,7 +16,7 @@ sys.path.insert(0, os.path.abspath("../../"))project = "ScrapeGraphAI"copyright = "2024, ScrapeGraphAI"-author = "Marco Vinciguerra, Marco Perini, Lorenzo Padoan"+author = "Marco Vinciguerra, , Lorenzo Padoan"html_last_updated_fmt = "%b %d, %Y"diff --git a/docs/turkish.md b/docs/turkish.mdindex f5799dd2..fb94acb4 100644--- a/docs/turkish.md+++ b/docs/turkish.md@@ -148,7 +148,7 @@ Kütüphanemizi araştırma amaçlı kullandıysanız, lütfen bizi aşağıdaki```text@misc{scrapegraph-ai,- author = {Marco Perini, Lorenzo Padoan, Marco Vinciguerra},+ author = {, Lorenzo Padoan, Marco Vinciguerra},title = {Scrapegraph-ai},year = {2024},url = {https://github.com/VinciGit00/Scrapegraph-ai},@@ -165,7 +165,7 @@ Kütüphanemizi araştırma amaçlı kullandıysanız, lütfen bizi aşağıdaki| | İletişim Bilgileri || ----------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------- || Marco Vinciguerra | [](https://www.linkedin.com/in/marco-vinciguerra-7ba365242/) |-| Marco Perini | [](https://www.linkedin.com/in/perinim/) |+| | [](https://www.linkedin.com/in/perinim/) || Lorenzo Padoan | [](https://www.linkedin.com/in/lorenzo-padoan-4521a2154/) |## 📜 Lisansdiff --git a/examples/ScrapegraphAI_cookbook.ipynb b/examples/ScrapegraphAI_cookbook.ipynbindex 5016c8c7..3ef7eb1e 100644--- a/examples/ScrapegraphAI_cookbook.ipynb+++ b/examples/ScrapegraphAI_cookbook.ipynb@@ -537,7 +537,7 @@"text": ["{\n"," \"summary\": {\n",- " \"title\": \"Projects | Marco Perini\",\n",+ " \"title\": \"Projects | \",\n"," \"projects\": [\n"," {\n"," \"title\": \"Rotary Pendulum RL\",\n",diff --git a/examples/document_scraper_graph/ollama/inputs/plain_html_example.txt b/examples/document_scraper_graph/ollama/inputs/plain_html_example.txtindex 2476565e..3320b6cb 100644--- a/examples/document_scraper_graph/ollama/inputs/plain_html_example.txt+++ b/examples/document_scraper_graph/ollama/inputs/plain_html_example.txt@@ -99,7 +99,7 @@</div></div><footer class="fixed-bottom">- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>+ <div class="container mt-0"> © Copyright 2023 . Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div></footer><div class="hiddendiv common"></div></body>diff --git a/examples/document_scraper_graph/openai/inputs/markdown_example.md b/examples/document_scraper_graph/openai/inputs/markdown_example.mdindex d062d5d0..e83f92b6 100644--- a/examples/document_scraper_graph/openai/inputs/markdown_example.md+++ b/examples/document_scraper_graph/openai/inputs/markdown_example.md@@ -1,4 +1,4 @@-Marco Perini Toggle navigation+ Toggle navigation* About* Projects(current)@@ -30,6 +30,6 @@ surroundings, considering uncertainties in their readings.Drones Modular drone architecture proposal and proof of concept. The projectreceived maximum grade. ](/projects/wireless-esc-drone/)-© Copyright 2023 Marco Perini. Powered by Jekyll with+© Copyright 2023 . Powered by Jekyll withal-folio theme. Hosted by [GitHubPages](https://pages.github.com/).diff --git a/examples/document_scraper_graph/openai/inputs/plain_html_example.txt b/examples/document_scraper_graph/openai/inputs/plain_html_example.txtindex 2476565e..3320b6cb 100644--- a/examples/document_scraper_graph/openai/inputs/plain_html_example.txt+++ b/examples/document_scraper_graph/openai/inputs/plain_html_example.txt@@ -99,7 +99,7 @@</div></div><footer class="fixed-bottom">- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>+ <div class="container mt-0"> © Copyright 2023 . Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div></footer><div class="hiddendiv common"></div></body>diff --git a/examples/extras/cond_smartscraper_usage.py b/examples/extras/cond_smartscraper_usage.pyindex 5c5e82e9..5832e477 100644--- a/examples/extras/cond_smartscraper_usage.py+++ b/examples/extras/cond_smartscraper_usage.py@@ -30,7 +30,7 @@ graph_config = {# *******************************************************multiple_search_graph = SmartScraperGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source="https://perinim.github.io/",schema=None,config=graph_config,diff --git a/examples/smart_scraper_graph/ollama/smart_scraper_lite_ollama.py b/examples/smart_scraper_graph/ollama/smart_scraper_lite_ollama.pyindex 9c4b9a69..72db77aa 100644--- a/examples/smart_scraper_graph/ollama/smart_scraper_lite_ollama.py+++ b/examples/smart_scraper_graph/ollama/smart_scraper_lite_ollama.py@@ -19,7 +19,7 @@ graph_config = {}smart_scraper_lite_graph = SmartScraperLiteGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source="https://perinim.github.io/",config=graph_config,)diff --git a/examples/smart_scraper_graph/ollama/smart_scraper_multi_concat_ollama.py b/examples/smart_scraper_graph/ollama/smart_scraper_multi_concat_ollama.pyindex a29ac3fc..1264a0ad 100644--- a/examples/smart_scraper_graph/ollama/smart_scraper_multi_concat_ollama.py+++ b/examples/smart_scraper_graph/ollama/smart_scraper_multi_concat_ollama.py@@ -29,7 +29,7 @@ graph_config = {# *******************************************************multiple_search_graph = SmartScraperMultiConcatGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source=["https://perinim.github.io/", "https://perinim.github.io/cv/"],schema=None,config=graph_config,diff --git a/examples/smart_scraper_graph/ollama/smart_scraper_multi_lite_ollama.py b/examples/smart_scraper_graph/ollama/smart_scraper_multi_lite_ollama.pyindex 15055f96..a93803f3 100644--- a/examples/smart_scraper_graph/ollama/smart_scraper_multi_lite_ollama.py+++ b/examples/smart_scraper_graph/ollama/smart_scraper_multi_lite_ollama.py@@ -26,7 +26,7 @@ graph_config = {# ************************************************smart_scraper_multi_lite_graph = SmartScraperMultiLiteGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source=["https://perinim.github.io/", "https://perinim.github.io/cv/"],config=graph_config,)diff --git a/examples/smart_scraper_graph/ollama/smart_scraper_multi_ollama.py b/examples/smart_scraper_graph/ollama/smart_scraper_multi_ollama.pyindex 04eb0e67..2bc0c425 100644--- a/examples/smart_scraper_graph/ollama/smart_scraper_multi_ollama.py+++ b/examples/smart_scraper_graph/ollama/smart_scraper_multi_ollama.py@@ -25,7 +25,7 @@ graph_config = {# *******************************************************multiple_search_graph = SmartScraperMultiGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source=["https://perinim.github.io/", "https://perinim.github.io/cv/"],schema=None,config=graph_config,diff --git a/examples/smart_scraper_graph/openai/smart_scraper_lite_openai.py b/examples/smart_scraper_graph/openai/smart_scraper_lite_openai.pyindex 3d768548..32d6860b 100644--- a/examples/smart_scraper_graph/openai/smart_scraper_lite_openai.py+++ b/examples/smart_scraper_graph/openai/smart_scraper_lite_openai.py@@ -22,7 +22,7 @@ graph_config = {}smart_scraper_lite_graph = SmartScraperLiteGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source="https://perinim.github.io/",config=graph_config,)diff --git a/examples/smart_scraper_graph/openai/smart_scraper_multi_concat_openai.py b/examples/smart_scraper_graph/openai/smart_scraper_multi_concat_openai.pyindex 4774e620..9ae14800 100644--- a/examples/smart_scraper_graph/openai/smart_scraper_multi_concat_openai.py+++ b/examples/smart_scraper_graph/openai/smart_scraper_multi_concat_openai.py@@ -30,7 +30,7 @@ graph_config = {# *******************************************************multiple_search_graph = SmartScraperMultiConcatGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source=["https://perinim.github.io/", "https://perinim.github.io/cv/"],schema=None,config=graph_config,diff --git a/examples/smart_scraper_graph/openai/smart_scraper_multi_lite_openai.py b/examples/smart_scraper_graph/openai/smart_scraper_multi_lite_openai.pyindex acc970be..31dbd7f3 100644--- a/examples/smart_scraper_graph/openai/smart_scraper_multi_lite_openai.py+++ b/examples/smart_scraper_graph/openai/smart_scraper_multi_lite_openai.py@@ -31,7 +31,7 @@ graph_config = {# ************************************************smart_scraper_multi_lite_graph = SmartScraperMultiLiteGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source=["https://perinim.github.io/", "https://perinim.github.io/cv/"],config=graph_config,)diff --git a/examples/smart_scraper_graph/openai/smart_scraper_multi_openai.py b/examples/smart_scraper_graph/openai/smart_scraper_multi_openai.pyindex ec510fc2..a07b992e 100644--- a/examples/smart_scraper_graph/openai/smart_scraper_multi_openai.py+++ b/examples/smart_scraper_graph/openai/smart_scraper_multi_openai.py@@ -31,7 +31,7 @@ graph_config = {# *******************************************************multiple_search_graph = SmartScraperMultiGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source=["https://perinim.github.io/", "https://perinim.github.io/cv/"],schema=None,config=graph_config,diff --git a/pyproject.toml b/pyproject.tomlindex 0cba2d51..d9a1ea76 100644--- a/pyproject.toml+++ b/pyproject.toml@@ -8,7 +8,6 @@ version = "1.40.1"description = "A web scraping library based on LangChain which uses LLM and direct graph logic to create scraping pipelines."authors = [{ name = "Marco Vinciguerra", email = "[email protected]" },- { name = "Marco Perini", email = "[email protected]" },{ name = "Lorenzo Padoan", email = "[email protected]" }]diff --git a/scrapegraphai/graphs/smart_scraper_multi_graph.py b/scrapegraphai/graphs/smart_scraper_multi_graph.pyindex a0518fb7..226aae00 100644--- a/scrapegraphai/graphs/smart_scraper_multi_graph.py+++ b/scrapegraphai/graphs/smart_scraper_multi_graph.py@@ -38,7 +38,7 @@ class SmartScraperMultiGraph(AbstractGraph):Example:>>> smart_scraper_multi_graph = SmartScraperMultiGraph(- ... prompt="Who is Marco Perini?",+ ... prompt="Who is ?",... source= [... "https://perinim.github.io/",... "https://perinim.github.io/cv/"diff --git a/scrapegraphai/graphs/smart_scraper_multi_lite_graph.py b/scrapegraphai/graphs/smart_scraper_multi_lite_graph.pyindex d212b08a..849c85c8 100644--- a/scrapegraphai/graphs/smart_scraper_multi_lite_graph.py+++ b/scrapegraphai/graphs/smart_scraper_multi_lite_graph.py@@ -38,7 +38,7 @@ class SmartScraperMultiLiteGraph(AbstractGraph):Example:>>> smart_scraper_multi_lite_graph = SmartScraperMultiLiteGraph(- ... prompt="Who is Marco Perini?",+ ... prompt="Who is ?",... source= [... "https://perinim.github.io/",... "https://perinim.github.io/cv/"diff --git a/tests/graphs/inputs/plain_html_example.txt b/tests/graphs/inputs/plain_html_example.txtindex 2476565e..3320b6cb 100644--- a/tests/graphs/inputs/plain_html_example.txt+++ b/tests/graphs/inputs/plain_html_example.txt@@ -99,7 +99,7 @@</div></div><footer class="fixed-bottom">- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>+ <div class="container mt-0"> © Copyright 2023 . Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div></footer><div class="hiddendiv common"></div></body>diff --git a/tests/graphs/smart_scraper_multi_lite_graph_openai_test.py b/tests/graphs/smart_scraper_multi_lite_graph_openai_test.pyindex e92b3239..a7a1ed53 100644--- a/tests/graphs/smart_scraper_multi_lite_graph_openai_test.py+++ b/tests/graphs/smart_scraper_multi_lite_graph_openai_test.py@@ -30,7 +30,7 @@ def graph_config():def test_scraping_pipeline(graph_config):"""Start of the scraping pipeline"""smart_scraper_multi_lite_graph = SmartScraperMultiLiteGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source=["https://perinim.github.io/", "https://perinim.github.io/cv/"],config=graph_config,)@@ -44,7 +44,7 @@ def test_scraping_pipeline(graph_config):def test_get_execution_info(graph_config):"""Get the execution info"""smart_scraper_multi_lite_graph = SmartScraperMultiLiteGraph(- prompt="Who is Marco Perini?",+ prompt="Who is ?",source=["https://perinim.github.io/", "https://perinim.github.io/cv/"],config=graph_config,)diff --git a/tests/inputs/plain_html_example.txt b/tests/inputs/plain_html_example.txtindex 2476565e..3320b6cb 100644--- a/tests/inputs/plain_html_example.txt+++ b/tests/inputs/plain_html_example.txt@@ -99,7 +99,7 @@</div></div><footer class="fixed-bottom">- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>+ <div class="container mt-0"> © Copyright 2023 . Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div></footer><div class="hiddendiv common"></div></body>diff --git a/tests/nodes/inputs/plain_html_example.txt b/tests/nodes/inputs/plain_html_example.txtindex 2476565e..3320b6cb 100644--- a/tests/nodes/inputs/plain_html_example.txt+++ b/tests/nodes/inputs/plain_html_example.txt@@ -99,7 +99,7 @@</div></div><footer class="fixed-bottom">- <div class="container mt-0"> © Copyright 2023 Marco Perini. Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div>+ <div class="container mt-0"> © Copyright 2023 . Powered by <a href="https://jekyllrb.com/" target="_blank" rel="external nofollow noopener">Jekyll</a> with <a href="https://github.com/alshedivat/al-folio" rel="external nofollow noopener" target="_blank">al-folio</a> theme. Hosted by <a href="https://pages.github.com/" target="_blank" rel="external nofollow noopener">GitHub Pages</a>. </div></footer><div class="hiddendiv common"></div></body>