W3Cschool
恭喜您成為首批注冊用戶
獲得88經(jīng)驗值獎勵
在開始抓取之前,你必須建立一個新的零碎項目。輸入要在其中存儲代碼并運行的目錄:
scrapy startproject tutorial
這將創(chuàng)建一個 ?tutorial
? 目錄包含以下內(nèi)容:
tutorial/
scrapy.cfg # deploy configuration file
tutorial/ # project's Python module, you'll import your code from here
__init__.py
items.py # project items definition file
middlewares.py # project middlewares file
pipelines.py # project pipelines file
settings.py # project settings file
spiders/ # a directory where you'll later put your spiders
__init__.py
Copyright©2021 w3cschool編程獅|閩ICP備15016281號-3|閩公網(wǎng)安備35020302033924號
違法和不良信息舉報電話:173-0602-2364|舉報郵箱:jubao@eeedong.com
掃描二維碼
下載編程獅App
編程獅公眾號
聯(lián)系方式:
更多建議: