Git Product home page Git Product logo

scrapy-with-django's Introduction

CrawlerWithScrapyAndDjango

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=

Set up

install requirements

pip install -r requirements.txt

database

python manage.py migrate

Start Project

run django and scrapyd

run django

python manage.py runserver

run scrapyd

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

How to use

  1. Select option 바란다 게시판 or 자유 게시판.
  2. Click the blue button 크롤링 시작.
  3. Wait until crawling is finished.
  4. Check the crawled data on the table.
  5. If you want to Check all data click the emerald button 전체보기
  6. If you want to visit original page, click the title that is hyper linked.

Initial screen

first page

After crawling

after crawling

from

https://github.com/adriancast/Scrapyd-Django-Template, https://medium.com/@ali_oguzhan/how-to-use-scrapy-with-django-application-c16fabd0e62e

scrapy-with-django's People

Contributors

copyndpaste avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.