Git Product home page Git Product logo

python-crawler-coupang's Introduction


Markdownify

쿠팡 스킨케어 상품명, 가격 크롤링

Overview

  • 대상: 파이썬 기본 지식, HTML 초급 정도의 지식을 가지고 있는 분에게 권장합니다.
  • 목표
    • 쿠팡 스킨케어 카테고리에 있는 화장품 상품명, 가격을 가져옵니다.
    • 1페이지부터 17페이지 까지

쿠팡 스킨케어 - 쿠팡 랭킹순

  • 화장품명, 가격을 가져옵니다.
  • 홈페이지 변경에 따라 결과가 바뀔 수 있습니다.

Step

1. 파이썬을 설치합니다.

2. 아래의 모듈을 설치합니다.

pip3 install requests , pip3 install bs4

3.헤더값을 넣기 위해 아래 사이트에서 본인의 User-Agent 값을 가져와서 넣어줍니다.

headers = {
    "User-Agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_3) AppleWebKit/537.36 ****(KHTML, like Gecko) Chrome/72.0.3626.109 Safari/537.36****"
}

4. 프로그램을 실행시킵니다.

결과물

  • 총 1020개 상품을 가져오는데 37초가 걸렸습니다.

Video Label 쿠팡 사이트 - 화장품명,가격 정보 크롤링

비고

  • 초보자들의 파이썬 크롤링 학습용으로 개발된 프로그램이며 영리 목적이 아님을 밝힙니다.
  • 쉽게 따라하고 이해하기 위해 퍼포먼스는 고려 하지 않고 작성되었습니다.

기타 문의

python-crawler-coupang's People

Contributors

jihyunjeongme avatar

Watchers

James Cloos 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.