Giter Club home page Giter Club logo

visa-req-wiki-scraper's Introduction

Visa Requirements Wikipedia Scraper

Scrapes the visa requirements for citizens of all countries and creates arrays of countries for each visa type. This data is used by Nomad Couple - https://nomadcouple.vinaygopinath.me

Visa types

  • required: Visa required
  • not-required: Visa not required for a certain period, or freedom of movement
  • evisa: Electronic visa/Online visa/ETA
  • on-arrival: Visa on arrival
  • refused: Admission refused/Travel banned
  • unknown: Visa status could not be parsed by this scraper

Example

Scraping the Visa requirements for Polish citizens Wikipedia page creates dist/output/poland.json with the JSON in the following format. (Countries that have a visa note available on Wikipedia may have a "note" property)

  {
    "required": [
      {
        "name": "Afghanistan"
      },
      {
        "name": "Algeria"
      },
      ...
    ],
    "not-required": [
      {
        "name": "Albania",
        "note": "90 days; ID card valid"
      },
      {
        "name": "Andorra",
        "note": "ID card valid"
      },
      ...
    ],
    "evisa": [
      {
        "name": "Australia",
        "note": "90 days on each visit in 12-month period if granted"
      },
      {
        "name": "Ivory Coast",
        "note": "3 months; eVisa holders must arrive via Port Bouet Airport."
      },
      ...
    ],
    "on-arrival": [
      {
        "name": "Bahrain",
        "note": "14 days. Visa is also obtainable online."
      },
      {
        "name": "Bangladesh",
        "note": "30 days"
      },
      ...
    ],
    "refused": [],
    "unknown": []
  }

Build

npm run scrape

Licence

MIT Licence

visa-req-wiki-scraper's People

Contributors

traviscibot avatar vinaygopinath avatar

Stargazers

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