Skip to content

Commit 0c0fbcc

Browse files
committed
Polishment
1 parent bd50787 commit 0c0fbcc

32 files changed

+103
-762
lines changed

docs/02_guides/05_scrapy.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import CodeBlock from '@theme/CodeBlock';
77
import Tabs from '@theme/Tabs';
88
import TabItem from '@theme/TabItem';
99

10-
import UnderscoreMainExample from '!!raw-loader!./code/_scrapy_project/src/__main__.py';
11-
import MainExample from '!!raw-loader!./code/_scrapy_project/src/main.py';
12-
import ItemsExample from '!!raw-loader!./code/_scrapy_project/src/items.py';
13-
import SettingsExample from '!!raw-loader!./code/_scrapy_project/src/settings.py';
14-
import TitleSpiderExample from '!!raw-loader!./code/_scrapy_project/src/spiders/title.py';
10+
import UnderscoreMainExample from '!!raw-loader!./code/scrapy_project/src/__main__.py';
11+
import MainExample from '!!raw-loader!./code/scrapy_project/src/main.py';
12+
import ItemsExample from '!!raw-loader!./code/scrapy_project/src/items.py';
13+
import TitleSpiderExample from '!!raw-loader!./code/scrapy_project/src/spiders/title.py';
14+
import SettingsExample from '!!raw-loader!./code/scrapy_project/src/settings.py';
1515

1616
[Scrapy](https://scrapy.org/) is an open-source web scraping framework written in Python. It provides a complete set of tools for web scraping, including the ability to define how to extract data from websites, handle pagination and navigation.
1717

@@ -68,24 +68,24 @@ Here is an example of a Scrapy Actor that scrapes the titles of web pages and en
6868
{UnderscoreMainExample}
6969
</CodeBlock>
7070
</TabItem>
71-
<TabItem value="main.py" label="main.py" default>
71+
<TabItem value="main.py" label="main.py">
7272
<CodeBlock className="language-python">
7373
{MainExample}
7474
</CodeBlock>
7575
</TabItem>
76-
<TabItem value="items.py" label="items.py" default>
76+
<TabItem value="items.py" label="items.py">
7777
<CodeBlock className="language-python">
7878
{ItemsExample}
7979
</CodeBlock>
8080
</TabItem>
81-
<TabItem value="settings.py" label="settings.py" default>
81+
<TabItem value="spiders/title.py" label="spiders/title.py">
8282
<CodeBlock className="language-python">
83-
{SettingsExample}
83+
{TitleSpiderExample}
8484
</CodeBlock>
8585
</TabItem>
86-
<TabItem value="spiders/title.py" label="spiders/title.py" default>
86+
<TabItem value="settings.py" label="settings.py">
8787
<CodeBlock className="language-python">
88-
{TitleSpiderExample}
88+
{SettingsExample}
8989
</CodeBlock>
9090
</TabItem>
9191
</Tabs>

docs/02_guides/code/_scrapy_project/.actor/Dockerfile

Lines changed: 0 additions & 12 deletions
This file was deleted.

docs/02_guides/code/_scrapy_project/.actor/actor.json

Lines changed: 0 additions & 13 deletions
This file was deleted.

docs/02_guides/code/_scrapy_project/.actor/input_schema.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

docs/02_guides/code/_scrapy_project/.dockerignore

Lines changed: 0 additions & 155 deletions
This file was deleted.

0 commit comments

Comments
 (0)