add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,32 +1,32 @@
# scrapy
> Web 爬取框架。
> 更多信息:<https://scrapy.org>.
> 网络爬虫框架。
> 更多信息:<https://scrapy.org>
- 创建一个项目:
`scrapy startproject {{项目名}}`
`scrapy startproject {{project_name}}`
- 创建一个爬虫(在项目目录
- 创建一个爬虫(在项目目录
`scrapy genspider {{爬虫名}} {{站点域名}}`
`scrapy genspider {{spider_name}} {{website_domain}}`
- 编辑爬虫(在项目目录
- 编辑爬虫(在项目目录
`scrapy edit {{爬虫名}}`
`scrapy edit {{spider_name}}`
- 运行爬虫(在项目目录
- 运行爬虫(在项目目录
`scrapy crawl {{爬虫名}}`
`scrapy crawl {{spider_name}}`
- 抓取一个网页并将它的网页源码打印至标准输出
- 按照 Scrapy 看到的方式获取网页并将源代码打印到 `stdout`
`scrapy fetch {{url}}`
- 使用默认浏览器打开给定的 URL 来确认是否符合期望(为确保准确会禁用 JavaScript
- 按照 Scrapy 看到的方式在默认浏览器打开网页(禁用 JavaScript 以提高准确性
`scrapy view {{url}}`
- 通过给定的 URL 打开交互窗口,除此之外还支持 UNIX 风格的本地文件路径
- URL 打开 Scrapy shell这允许在 Python shell如果可用则为 IPython中与页面源进行交互
`scrapy shell {{url}}`
`scrapy shell {{url}}`