Skip to content

Commit bd8b915

Browse files
authored
Merge branch 'main' into refactor-script-generator
2 parents 68272a3 + b454fec commit bd8b915

File tree

2 files changed

+18
-17
lines changed

2 files changed

+18
-17
lines changed

README.md

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![](https://dcbadge.vercel.app/api/server/gkxQDAjfeX)](https://discord.gg/gkxQDAjfeX)
88

99

10-
ScrapeGraphAI is a *web scraping* python library which uses LLM and direct graph logic to create scraping pipelines for websites, documents and XML files.
10+
ScrapeGraphAI is a *web scraping* python library that uses LLM and direct graph logic to create scraping pipelines for websites, documents and XML files.
1111
Just say which information you want to extract and the library will do it for you!
1212

1313
<p align="center">
@@ -17,7 +17,7 @@ Just say which information you want to extract and the library will do it for yo
1717

1818
## 🚀 Quick install
1919

20-
The reference page for Scrapegraph-ai is avaible on the official page of pypy: [pypi](https://pypi.org/project/scrapegraphai/).
20+
The reference page for Scrapegraph-ai is available on the official page of pypy: [pypi](https://pypi.org/project/scrapegraphai/).
2121

2222
```bash
2323
pip install scrapegraphai
@@ -43,7 +43,7 @@ Check out also the docusaurus [documentation](https://scrapegraph-doc.onrender.c
4343
You can use the `SmartScraper` class to extract information from a website using a prompt.
4444

4545
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/).
46-
### Case 1: Extracting informations using Ollama
46+
### Case 1: Extracting information using Ollama
4747
Remember to download the model on Ollama separately!
4848
```python
4949
from scrapegraphai.graphs import SmartScraperGraph
@@ -53,12 +53,12 @@ graph_config = {
5353
"model": "ollama/mistral",
5454
"temperature": 0,
5555
"format": "json", # Ollama needs the format to be specified explicitly
56-
"base_url": "http://localhost:11434", # set ollama URL arbitrarily
56+
"base_url": "http://localhost:11434", # set Ollama URL arbitrarily
5757
},
5858
"embeddings": {
5959
"model": "ollama/nomic-embed-text",
6060
"temperature": 0,
61-
"base_url": "http://localhost:11434", # set ollama URL arbitrarily
61+
"base_url": "http://localhost:11434", # set Ollama URL arbitrarily
6262
}
6363
}
6464

@@ -74,9 +74,9 @@ print(result)
7474

7575
```
7676

77-
### Case 2: Extracting informations using Docker
77+
### Case 2: Extracting information using Docker
7878

79-
Note: before using the local model remeber to create the docker container!
79+
Note: before using the local model remember to create the docker container!
8080
```text
8181
docker-compose up -d
8282
docker exec -it ollama ollama run stablelm-zephyr
@@ -106,7 +106,7 @@ print(result)
106106
```
107107

108108

109-
### Case 3: Extracting informations using Openai model
109+
### Case 3: Extracting information using Openai model
110110
```python
111111
from scrapegraphai.graphs import SmartScraperGraph
112112
OPENAI_API_KEY = "YOUR_API_KEY"
@@ -129,7 +129,7 @@ result = smart_scraper_graph.run()
129129
print(result)
130130
```
131131

132-
### Case 4: Extracting informations using Gemini
132+
### Case 4: Extracting information using Gemini
133133
```python
134134
from scrapegraphai.graphs import SmartScraperGraph
135135
GOOGLE_APIKEY = "YOUR_API_KEY"
@@ -153,7 +153,7 @@ result = smart_scraper_graph.run()
153153
print(result)
154154
```
155155

156-
The output for alle 3 the cases will be a dictionary with the extracted information, for example:
156+
The output for all 3 the cases will be a dictionary with the extracted information, for example:
157157

158158
```bash
159159
{
@@ -168,9 +168,9 @@ The output for alle 3 the cases will be a dictionary with the extracted informat
168168

169169
## 🤝 Contributing
170170

171-
Fell free to contribute and join our Discord server to discuss with us improvements and give us suggestions!
171+
Feel free to contribute and join our Discord server to discuss with us improvements and give us suggestions!
172172

173-
For more information, please see the [contributing guidelines](https://github.com/VinciGit00/Scrapegraph-ai/blob/main/CONTRIBUTING.md).
173+
Please see the [contributing guidelines](https://github.com/VinciGit00/Scrapegraph-ai/blob/main/CONTRIBUTING.md).
174174

175175
[![My Skills](https://skillicons.dev/icons?i=discord)](https://discord.gg/gkxQDAjfeX)
176176
[![My Skills](https://skillicons.dev/icons?i=linkedin)](https://www.linkedin.com/company/scrapegraphai/)
@@ -187,7 +187,7 @@ If you have used our library for research purposes please quote us with the foll
187187
title = {Scrapegraph-ai},
188188
year = {2024},
189189
url = {https://github.com/VinciGit00/Scrapegraph-ai},
190-
note = {A Python library for scraping data from graphs}
190+
note = {A Python library for scraping leveraging large language models}
191191
}
192192
```
193193

poetry.lock

Lines changed: 5 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)