티스토리 뷰

scrapy 라이브러리 튜토리얼

http://doc.scrapy.org/en/latest/intro/tutorial.html

 

설치방법

pip install scrapy

python win32api  download & install

scrapy runspider <spider file>

scrapy crawl <name>

 

예제

 

scrapy startproject <project_name>

<project_name>\spdier\<spidername.py>

 

 

에러 해결 방법

http://doc.scrapy.org/en/latest/faq.html

 

Scrapy crashes with: ImportError: No module named win32api

You need to install pywin32 because of this Twisted bug.

 

download link:

http://sourceforge.net/projects/pywin32/?source=typ_redirect

 

 


댓글