Skip to content

Python scraper based on AI

Merge branch 'main' into temp

Federico Aguzzi52643d52d028
diff --cc CHANGELOG.md
index 1c6f5bde,d5306d62..2b6438d8
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@@ -1,36 -1,134 +1,159 @@@
++
+## [1.10.0-beta.7](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.0-beta.6...v1.10.0-beta.7) (2024-07-23)
+
+ ## [1.11.2](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.11.1...v1.11.2) (2024-07-23)
+
+
+ ### Bug Fixes
+
+ * md conversion ([1d41f6e](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/1d41f6eafe8ed0e191bb6a258d54c6388ff283c6))
+
+ ## [1.11.1](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.11.0...v1.11.1) (2024-07-23)
+
+
+ ### Bug Fixes
+
+ * md conversion ([5a45e9f](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/5a45e9f2d86a1c58b8ea321e3df9718bc00f9c28))
+
+ ## [1.11.0](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.4...v1.11.0) (2024-07-23)
+
+
+ ### Features
+
+ * add new toml ([fcb3220](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fcb3220868e7ef1127a7a47f40d0379be282e6eb))
+ * add nvidia connection ([fc0dadb](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fc0dadb8f812dfd636dec856921a971b58695ce3))
+
+
+ ### Bug Fixes
+
+ * **md_conversion:** add absolute links md, added missing dependency ([12b5ead](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/12b5eada6ea783770afd630ede69b8cf867a7ded))
+
+
+ ### chore
+
+ * **dependecies:** add script to auto-update requirements ([3289c7b](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/3289c7bf5ec58ac3d04e9e5e8e654af9abcee228))
+ * **ci:** set up workflow for requirements auto-update ([295fc28](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/295fc28ceb02c78198f7fbe678352503b3259b6b))
+ * update requirements.txt ([c7bac98](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/c7bac98d2e79e5ab98fa65d7efa858a2cdda1622))
+ * upgrade dependencies and scripts ([74d142e](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/74d142eaae724b087eada9c0c876b40a2ccc7cae))
+ * **pyproject:** upgrade dependencies ([0425124](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/0425124c570f765b98fcf67ba6649f4f9fe76b15))
+
+
+ ### Docs
+
+ * add hero image ([4182e23](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/4182e23e3b8d8f141b119b6014ae3ff20b3892e3))
+ * updated readme ([c377ae0](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/c377ae0544a78ebdc0d15f8d23b3846c26876c8c))
+
+
+ ### CI
+
+ * **release:** 1.10.0-beta.6 [skip ci] ([254bde7](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/254bde7008b41ffa434925e3ae84340c53a565bd))
+ * **release:** 1.10.0-beta.7 [skip ci] ([1756e85](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/1756e8522f3874de8afbef9ac327f9b3f1a49d07))
+ * **release:** 1.10.0-beta.8 [skip ci] ([255e569](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/255e569172b1029bc2a723b2ec66bcf3d3ee3791))
+
+ ## [1.10.0-beta.8](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.0-beta.7...v1.10.0-beta.8) (2024-07-23)
+
+ ## [1.10.4](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.3...v1.10.4) (2024-07-22)
+
+
+
+ ### Bug Fixes
+
+
+ * **md_conversion:** add absolute links md, added missing dependency ([12b5ead](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/12b5eada6ea783770afd630ede69b8cf867a7ded))
+
+ ## [1.10.0-beta.7](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.0-beta.6...v1.10.0-beta.7) (2024-07-23)
+
+
+ ### Features
+
+ * add nvidia connection ([fc0dadb](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fc0dadb8f812dfd636dec856921a971b58695ce3))
+
+
+ ### chore
+
+ * **dependecies:** add script to auto-update requirements ([3289c7b](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/3289c7bf5ec58ac3d04e9e5e8e654af9abcee228))
+ * **ci:** set up workflow for requirements auto-update ([295fc28](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/295fc28ceb02c78198f7fbe678352503b3259b6b))
+ * update requirements.txt ([c7bac98](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/c7bac98d2e79e5ab98fa65d7efa858a2cdda1622))
+
+ ## [1.10.0-beta.6](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.0-beta.5...v1.10.0-beta.6) (2024-07-22)
+
+ * parse node ([09256f7](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/09256f7b11a7a1c2aba01cf8de70401af1e86fe4))
+
+ ## [1.10.3](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.2...v1.10.3) (2024-07-22)
+
+
+ ### Bug Fixes
+
+ * parse_html node have a bug ([71f894e](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/71f894eee3468fac8ad2c724ad1f9fd4b5f64140))
+
+ ## [1.10.2](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.1...v1.10.2) (2024-07-21)
+
+
+ ### Bug Fixes
+
+ * telemetry version ([b0418b6](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/b0418b679cf45e1e680d2daadcc47e6e4f585575))
+
+ ## [1.10.1](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.0...v1.10.1) (2024-07-21)
+
+
+ ### Bug Fixes
+
+ * abstract_graph moel token bug ([ce6be37](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/ce6be37fbc1095afe4df6a2fc206923e477190e5))
+
+ ## [1.10.0](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.9.2...v1.10.0) (2024-07-20)
+
+
+
+
### Features
+* add nvidia connection ([fc0dadb](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fc0dadb8f812dfd636dec856921a971b58695ce3))
+
+ * add new toml ([fcb3220](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fcb3220868e7ef1127a7a47f40d0379be282e6eb))
+
+ * add gpt4o omni ([431edb7](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/431edb7bb2504f4c1335c3ae3ce2f91867fa7222))
+ * add searchngx integration ([5c92186](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/5c9218608140bf694fbfd96aa90276bc438bb475))
+ * refactoring_to_md function ([602dd00](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/602dd00209ee1d72a1223fc4793759450921fcf9))
+
+
+ ### Bug Fixes
+
+ * add gpt o mini for azure ([77777c8](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/77777c898d1fad40f340b06c5b36d35b65409ea6))
+ * parse_node ([07f1e23](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/07f1e23d235db1a0db2cb155f10b73b0bf882269))
+ * search link node ([cf3ab55](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/cf3ab5564ae5c415c63d1771b32ea68f5169ca82))
+
+
+
### chore
+* **dependecies:** add script to auto-update requirements ([3289c7b](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/3289c7bf5ec58ac3d04e9e5e8e654af9abcee228))
+* **ci:** set up workflow for requirements auto-update ([295fc28](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/295fc28ceb02c78198f7fbe678352503b3259b6b))
+* update requirements.txt ([c7bac98](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/c7bac98d2e79e5ab98fa65d7efa858a2cdda1622))
+
+## [1.10.0-beta.6](https://github.com/ScrapeGraphAI/Scrapegraph-ai/compare/v1.10.0-beta.5...v1.10.0-beta.6) (2024-07-22)
+
+
+### Features
+
+* add new toml ([fcb3220](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fcb3220868e7ef1127a7a47f40d0379be282e6eb))
+* add gpt4o omni ([431edb7](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/431edb7bb2504f4c1335c3ae3ce2f91867fa7222))
+* add searchngx integration ([5c92186](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/5c9218608140bf694fbfd96aa90276bc438bb475))
+* refactoring_to_md function ([602dd00](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/602dd00209ee1d72a1223fc4793759450921fcf9))
+
+
+
+
+### chore
* **pyproject:** upgrade dependencies ([0425124](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/0425124c570f765b98fcf67ba6649f4f9fe76b15))
+ * correct search engine name ([7ba2f6a](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/7ba2f6ae0b9d2e9336e973e1f57ab8355c739e27))
+ * remove unused import ([fd1b7cb](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/fd1b7cb24a7c252277607abde35826e3c58e34ef))
+ * **ci:** upgrade lockfiles ([c7b05a4](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/c7b05a4993df14d6ed4848121a3cd209571232f7))
+ * upgrade tiktoken ([7314bc3](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/7314bc383068db590662bf7e512f799529308991))
+
### Docs
* **gpt-4o-mini:** added new gpt, fixed chromium lazy loading, ([99dc849](https://github.com/ScrapeGraphAI/Scrapegraph-ai/commit/99dc8497d85289759286a973e4aecc3f924d3ada))
@@@ -376,7 -474,7 +500,7 @@@
* **release:** 1.6.1 [skip ci] ([44fbd71](https://github.com/VinciGit00/Scrapegraph-ai/commit/44fbd71742a57a4b10f22ed33781bb67aa77e58d))
## [1.6.1](https://github.com/VinciGit00/Scrapegraph-ai/compare/v1.6.0...v1.6.1) (2024-06-15)
--=======
++
### Bug Fixes
diff --cc pyproject.toml
index f20b1cac,8e74cca3..2ee56d75
--- a/pyproject.toml
+++ b/pyproject.toml
@@@ -1,10 -1,9 +1,7 @@@
[project]
name = "scrapegraphai"
-
- version = "1.10.0b7"
-version = "1.11.2"
--
--
++version = "1.12.1b1"
description = "A web scraping library based on LangChain which uses LLM and direct graph logic to create scraping pipelines."
authors = [
@@@ -12,10 -11,13 +9,13 @@@
{ name = "Marco Perini", email = "[email protected]" },
{ name = "Lorenzo Padoan", email = "[email protected]" }
]
++
dependencies = [
"langchain>=0.2.10",
-
+ "langchain-fireworks>=0.1.3",
+ "langchain_community>=0.2.9",
"langchain-google-genai>=1.0.7",
- "langchain-google-vertexai",
+ "langchain-google-vertexai>=1.0.7",
"langchain-openai>=0.1.17",
"langchain-groq>=0.1.3",
"langchain-aws>=0.1.3",
diff --cc requirements-dev.lock
index 3e8ddc74,405395c4..3925a66a
--- a/requirements-dev.lock
+++ b/requirements-dev.lock
@@@ -12,6 -12,6 +12,7 @@@ aiofiles==24.1.
# via burr
aiohttp==3.9.5
# via langchain
++ # via langchain-community
# via langchain-fireworks
# via langchain-nvidia-ai-endpoints
aiosignal==1.3.1
@@@ -209,7 -210,7 +212,7 @@@ httpx==0.27.
# via openai
httpx-sse==0.4.0
# via fireworks-ai
--huggingface-hub==0.24.0
++huggingface-hub==0.24.1
# via tokenizers
idna==3.7
# via anyio
@@@ -219,7 -220,7 +222,7 @@@
# via yarl
imagesize==1.4.1
# via sphinx
--importlib-metadata==8.0.0
++importlib-metadata==8.1.0
# via sphinx
importlib-resources==6.4.0
# via matplotlib
@@@ -248,16 -249,19 +251,20 @@@ jsonschema-specifications==2023.12.
# via jsonschema
kiwisolver==1.4.5
# via matplotlib
--langchain==0.2.10
++langchain==0.2.11
+ # via langchain-community
# via scrapegraphai
langchain-anthropic==0.1.20
# via scrapegraphai
langchain-aws==0.1.12
# via scrapegraphai
- langchain-core==0.2.22
-langchain-community==0.2.9
++langchain-community==0.2.10
+ # via scrapegraphai
-langchain-core==0.2.22
++langchain-core==0.2.23
# via langchain
# via langchain-anthropic
# via langchain-aws
++ # via langchain-community
# via langchain-fireworks
# via langchain-google-genai
# via langchain-google-vertexai
@@@ -273,7 -277,7 +280,7 @@@ langchain-google-vertexai==1.0.
# via scrapegraphai
langchain-groq==0.1.6
# via scrapegraphai
--langchain-nvidia-ai-endpoints==0.1.6
++langchain-nvidia-ai-endpoints==0.1.7
# via scrapegraphai
langchain-openai==0.1.17
# via scrapegraphai
@@@ -281,6 -285,6 +288,7 @@@ langchain-text-splitters==0.2.
# via langchain
langsmith==0.1.93
# via langchain
++ # via langchain-community
# via langchain-core
loguru==0.7.2
# via burr
@@@ -313,6 -319,6 +323,7 @@@ numpy==1.26.
# via faiss-cpu
# via langchain
# via langchain-aws
++ # via langchain-community
# via matplotlib
# via pandas
# via pyarrow
@@@ -333,6 -339,6 +344,7 @@@ packaging==24.
# via google-cloud-bigquery
# via huggingface-hub
# via langchain-core
++ # via marshmallow
# via matplotlib
# via pytest
# via sphinx
@@@ -349,7 -355,7 +361,7 @@@ pillow==10.4.
# via streamlit
platformdirs==4.2.2
# via pylint
--playwright==1.45.0
++playwright==1.45.1
# via scrapegraphai
# via undetected-playwright
pluggy==1.5.0
@@@ -423,6 -429,6 +435,7 @@@ pytz==2024.
pyyaml==6.0.1
# via huggingface-hub
# via langchain
++ # via langchain-community
# via langchain-core
# via uvicorn
referencing==0.35.1
@@@ -438,6 -444,6 +451,7 @@@ requests==2.32.
# via google-cloud-storage
# via huggingface-hub
# via langchain
++ # via langchain-community
# via langchain-fireworks
# via langsmith
# via sphinx
@@@ -495,12 -501,12 +509,14 @@@ sphinxcontrib-serializinghtml==1.1.1
# via sphinx
sqlalchemy==2.0.31
# via langchain
++ # via langchain-community
starlette==0.37.2
# via fastapi
streamlit==1.36.0
# via burr
tenacity==8.5.0
# via langchain
++ # via langchain-community
# via langchain-core
# via streamlit
tiktoken==0.7.0
@@@ -551,6 -557,6 +567,7 @@@ typing-extensions==4.12.
# via typing-inspect
# via uvicorn
typing-inspect==0.9.0
++ # via dataclasses-json
# via sf-hamilton
tzdata==2024.1
# via pandas
diff --cc requirements.lock
index d99559de,9d0602db..5b34025c
--- a/requirements.lock
+++ b/requirements.lock
@@@ -10,6 -10,6 +10,7 @@@
-e file:.
aiohttp==3.9.5
# via langchain
++ # via langchain-community
# via langchain-fireworks
# via langchain-nvidia-ai-endpoints
aiosignal==1.3.1
@@@ -153,7 -154,7 +156,7 @@@ httpx==0.27.
# via openai
httpx-sse==0.4.0
# via fireworks-ai
--huggingface-hub==0.24.0
++huggingface-hub==0.24.1
# via tokenizers
idna==3.7
# via anyio
@@@ -169,16 -170,19 +172,20 @@@ jsonpatch==1.3
# via langchain-core
jsonpointer==3.0.0
# via jsonpatch
--langchain==0.2.10
++langchain==0.2.11
+ # via langchain-community
# via scrapegraphai
langchain-anthropic==0.1.20
# via scrapegraphai
langchain-aws==0.1.12
# via scrapegraphai
- langchain-core==0.2.22
-langchain-community==0.2.9
++langchain-community==0.2.10
+ # via scrapegraphai
-langchain-core==0.2.22
++langchain-core==0.2.23
# via langchain
# via langchain-anthropic
# via langchain-aws
++ # via langchain-community
# via langchain-fireworks
# via langchain-google-genai
# via langchain-google-vertexai
@@@ -194,7 -198,7 +201,7 @@@ langchain-google-vertexai==1.0.
# via scrapegraphai
langchain-groq==0.1.6
# via scrapegraphai
--langchain-nvidia-ai-endpoints==0.1.6
++langchain-nvidia-ai-endpoints==0.1.7
# via scrapegraphai
langchain-openai==0.1.17
# via scrapegraphai
@@@ -202,6 -206,6 +209,7 @@@ langchain-text-splitters==0.2.
# via langchain
langsmith==0.1.93
# via langchain
++ # via langchain-community
# via langchain-core
lxml==5.2.2
# via free-proxy
@@@ -218,6 -226,6 +230,7 @@@ numpy==1.26.
# via faiss-cpu
# via langchain
# via langchain-aws
++ # via langchain-community
# via pandas
# via shapely
openai==1.37.0
@@@ -231,12 -239,12 +244,13 @@@ packaging==24.
# via google-cloud-bigquery
# via huggingface-hub
# via langchain-core
++ # via marshmallow
pandas==2.2.2
# via scrapegraphai
pillow==10.4.0
# via fireworks-ai
# via langchain-nvidia-ai-endpoints
--playwright==1.45.0
++playwright==1.45.1
# via scrapegraphai
# via undetected-playwright
proto-plus==1.24.0
@@@ -288,6 -296,6 +302,7 @@@ pytz==2024.
pyyaml==6.0.1
# via huggingface-hub
# via langchain
++ # via langchain-community
# via langchain-core
regex==2024.5.15
# via tiktoken
@@@ -298,6 -306,6 +313,7 @@@ requests==2.32.
# via google-cloud-storage
# via huggingface-hub
# via langchain
++ # via langchain-community
# via langchain-fireworks
# via langsmith
# via tiktoken
@@@ -321,8 -329,9 +337,10 @@@ soupsieve==2.
# via beautifulsoup4
sqlalchemy==2.0.31
# via langchain
+ # via langchain-community
tenacity==8.5.0
# via langchain
++ # via langchain-community
# via langchain-core
tiktoken==0.7.0
# via langchain-openai
@@@ -347,6 -356,6 +365,9 @@@ typing-extensions==4.12.
# via pydantic-core
# via pyee
# via sqlalchemy
++ # via typing-inspect
++typing-inspect==0.9.0
++ # via dataclasses-json
tzdata==2024.1
# via pandas
undetected-playwright==0.3.0
diff --cc requirements.txt
index dd9fb403,124840e5..af7ee2ed
--- a/requirements.txt
+++ b/requirements.txt
@@@ -1,6 -1,8 +1,8 @@@
langchain>=0.2.10
++langchain-fireworks>=0.1.3
+ langchain_community>=0.2.9
langchain-google-genai>=1.0.7
-langchain-fireworks>=0.1.3
-langchain-google-vertexai
+langchain-google-vertexai>=1.0.7
langchain-openai>=0.1.17
langchain-groq>=0.1.3
langchain-aws>=0.1.3
@@@ -20,5 -22,4 +22,3 @@@ playwright>=1.43.
google>=3.0.0
undetected-playwright>=0.3.0
semchunk>=1.0.1
- html2text>=2024.2.26
- langchain-fireworks>=0.1.3
-