GithubHelp home page GithubHelp logo

aaron1aaron2 / taiwan-news-udn-crawler-2021 Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 0.0 247 KB

udn crawler 2021 - simple example | 聯合報爬蟲 2021 年

License: MIT License

Python 100.00%
udn crawler example keywod-search

taiwan-news-udn-crawler-2021's Introduction

udn-crawler-2021

爬取聯合報網站的範例程式碼,只使用 request。

爬蟲結果

目錄架構

Project_udn-crawler-2021
    ├── data
    │   └── keywords.csv
    ├── output
    │   └── ...    
    ├── LICENSE
    ├── README.md
    ├── crawler.py
    ├── final_data.py
    ├── pipeline_test.py
    └── requirements.txt

Pipeline

  1. 使用 keyword 搜尋 udn 網站
  2. 獲取搜尋結果網址列表
  3. 進入網址
  4. 判斷該網址導向的頁面類型
  5. 獲取 content 內容

目前只針對 udn 以下網域做對應爬取:

taiwan-news-udn-crawler-2021's People

Contributors

aaron1aaron2 avatar

Stargazers

 avatar

Watchers

 avatar  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.