python crawling 환경 구축

우선 파서와 관련된 모듈을 설치

sudo apt-get install libxml2-dev libxslt-dev python3-dev zlib1g-dev

pip를 이용하여 파이썬에 lxml을 설치하자.

pip3 install lxml

이번에는 beautifulsoup4 를 설치하자.

pip3 install beautifulsoup4

이번에는 Scrapy를 설치

sudo apt-get install libffi-dev libssl-dev
pip3 install Scrapy
One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.