Skip to content

Commit f0c6041

Browse files
committed
fix: spelling
1 parent 23fdbdb commit f0c6041

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/styles/config/vocabularies/Docs/accept.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,8 @@ preconfigured
8888

8989

9090
[Mm]ultiselect
91+
92+
[Ss]crapy
93+
asyncio
94+
parallelization
95+
IMDb

sources/academy/webscraping/scraping_basics_python/12_framework.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ Successfully installed Jinja2-0.0.0 ... ... ... crawlee-0.0.0 ... ... ...
4646

4747
Now let's use the framework to create a new version of our scraper. In the same project directory where our `main.py` file lives, create a file `newmain.py`. This way, we can keep peeking at the original implementation while working on the new one. The initial content will look like this:
4848

49+
<!-- vale off -->
4950
```py title="newmain.py"
5051
import asyncio
5152
from crawlee.beautifulsoup_crawler import BeautifulSoupCrawler
@@ -62,6 +63,7 @@ async def main():
6263
if __name__ == '__main__':
6364
asyncio.run(main())
6465
```
66+
<!-- vale on -->
6567

6668
In the code, we do the following:
6769

@@ -309,7 +311,7 @@ async def main():
309311
await context.push_data(item)
310312
```
311313

312-
That's it! If you run the program now, there should be a `storage` directory alonside the `newmain.py` file. Crawlee uses it to store its internal state. If you go to the `storage/datasets/default` subdirectory, you'll see over 30 JSON files, each representing a single item.
314+
That's it! If you run the program now, there should be a `storage` directory alongside the `newmain.py` file. Crawlee uses it to store its internal state. If you go to the `storage/datasets/default` subdirectory, you'll see over 30 JSON files, each representing a single item.
313315

314316
![Single dataset item](images/dataset-item.png)
315317

0 commit comments

Comments
 (0)