Skip to content

Commit ba8a4f7

Browse files
committed
removed duplicates
1 parent a8fb851 commit ba8a4f7

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

.python-version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.9.19
1+
3.10.14

examples/openai/deep_scraper_openai.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
graph_config = {
2020
"llm": {
2121
"api_key": openai_key,
22-
"model": "gpt-4",
22+
"model": "gpt-3.5-turbo",
2323
},
2424
"verbose": True,
2525
}
@@ -29,9 +29,9 @@
2929
# ************************************************
3030

3131
deep_scraper_graph = DeepScraperGraph(
32-
prompt="List me all the job titles and detailed job description.",
32+
prompt="List me all the contacts",
3333
# also accepts a string with the already downloaded HTML code
34-
source="https://www.google.com/about/careers/applications/jobs/results/?location=Bangalore%20India",
34+
source="https://davittoriogift.com/en/home/a",
3535
config=graph_config
3636
)
3737

requirements-dev.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,6 @@ graphviz==0.20.3
9393
# via scrapegraphai
9494
greenlet==3.0.3
9595
# via playwright
96-
# via sqlalchemy
9796
groq==0.5.0
9897
# via langchain-groq
9998
grpcio==1.63.0

requirements.lock

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,6 @@ graphviz==0.20.3
9292
# via scrapegraphai
9393
greenlet==3.0.3
9494
# via playwright
95-
# via sqlalchemy
9695
groq==0.5.0
9796
# via langchain-groq
9897
grpcio==1.63.0

scrapegraphai/graphs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@
1515
from .pdf_scraper_graph import PDFScraperGraph
1616
from .omni_scraper_graph import OmniScraperGraph
1717
from .omni_search_graph import OmniSearchGraph
18-
from .turbo_scraper import TurboScraperGraph
18+
#from .turbo_scraper import TurboScraperGraph

scrapegraphai/nodes/search_link_node.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,5 @@ def execute(self, state: dict) -> dict:
103103
answer = merge_chain.invoke(
104104
{"content": chunk.page_content, "user_prompt": user_prompt})
105105
relevant_links += answer
106-
state.update({self.output[0]: relevant_links})
106+
state.update({self.output[0]: list(set(relevant_links))})
107107
return state

0 commit comments

Comments
 (0)