Skip to content

Python scraper based on AI

Merge branch 'pre/beta' of https://github.com/DiTo97/Scrapegraph-ai into fix/fetch-node-proxybroker

Federico Minutolifc2aa3ac1c2f
diff --cc scrapegraphai/nodes/fetch_node.py
index 51a66518,3eabc66f..73363917
--- a/scrapegraphai/nodes/fetch_node.py
+++ b/scrapegraphai/nodes/fetch_node.py
@@@ -125,8 -114,7 +125,8 @@@ class FetchNode(BaseNode)
document = loader.load()
compressed_document = [
- Document(page_content=remover(str(document[0].page_content)))]
+ Document(page_content=remover(str(document[0].page_content)))
+ ]
state.update({self.output[0]: compressed_document})
- return state
+ return state
diff --cc scrapegraphai/utils/__init__.py
index 74c70f84,218506f3..dde9971d
--- a/scrapegraphai/utils/__init__.py
+++ b/scrapegraphai/utils/__init__.py
@@@ -5,6 -5,5 +5,7 @@@
from .convert_to_csv import convert_to_csv
from .convert_to_json import convert_to_json
from .prettify_exec_info import prettify_exec_info
-from .proxy_rotation import proxy_generator
+from .proxy_rotation import Proxy, parse_or_search_proxy, search_proxy_servers
+ from .remover import remover
+from .save_audio_from_bytes import save_audio_from_bytes
+from .sys_dynamic_import import dynamic_import, srcfile_import