Giter VIP home page Giter VIP logo

divi-crawler's Introduction

divi-crawler

DEPRECATED, see https://github.com/codeformuenster/divi-map for latest data.

Web crawler for data at divi.de (Deutsche interdisziplinäre Vereinigung fir Intensiv- und Notfallmedizin).

Setup instructions

  1. Install development dependencies for Python 3.7:

    python3 -m pip install -r requirements.txt
  2. Call the crawler script:

    python3 scripts/divi-icu-beds.py

Steps for commiting the .json file into the "data" folder on GitHub

  1. Run Setup Instructions above.

  2. Generate a "personal access token" on GitHub:

    At your GitHub account: "Settings" -> "Developer Settings" -> "Personal access tokens" -> "Generate new token".

  3. Generate a file "config.py"

    (like config.py.example) and copy your personal access token into the file.

    Note: Treat your personal access token like a password and NEVER check in your config.py.

  4. Call the auto_commit script:

    python3 scripts/autocommit.py

Docker automation

  1. Build image:

    docker build . -t divi
  2. Run crawler in container:

    docker run divi /bin/bash -c "python scripts/divi-icu-beds.py && python scripts/autocommit.py"

divi-crawler's People

Contributors

top-on avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar James Cloos avatar Yannic avatar Thomas Werner avatar  avatar Jan-Erik Matthies avatar  avatar

Forkers

jemtech radmagnus

divi-crawler's Issues

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.