CrawlerWithScrapyAndDjango. This crawler crawling posts of board.
Site urls are below. 'p' parameter means page.
http://www.inven.co.kr/board/maple/2299?p=
http://www.inven.co.kr/board/maple/2587?p=
pip install -r requirements.txt
python manage.py migrate
run django and scrapyd
python manage.py runserver
cd scrapy_app
scrapyd
send a job request to scrapyd. spider is assigned spider name
curl http://localhost:6800/schedule.json -d project=default -d spider=crawler
- Select option
바란다 게시판
or자유 게시판
. - Click the blue button
크롤링 시작
. - Wait until crawling is finished.
- Check the crawled data on the table.
- If you want to Check all data click the emerald button
전체보기
- If you want to visit original page, click the title that is hyper linked.
https://github.com/adriancast/Scrapyd-Django-Template, https://medium.com/@ali_oguzhan/how-to-use-scrapy-with-django-application-c16fabd0e62e