Git Product home page Git Product logo

nz-ufo-sightings's Introduction

New Zealand UFO Sightings

Build Status

A Python scraper for UFOCUS NZ UFO sightings, and a MapBox/Leaflet map that then displays the . scraped data. Parses with BeautifulSoup4, tentatively uses pandas, and geocodes pretty poorly with geopy (Nominatim). If you use this tool to extract the information into a friendly format, bear in mind that you must not redistribute that content without the express permission of UFOCUS NZ.

Requirements

  • virtualenv ... the rest is taken care of for you

Usage

  • Clone the repository and cd into it
  • virtualenv venv
  • source venv/bin/activate
  • pip install -r requirements.txt
  • python PythonUFOCUSNZ/scrape.py (this does all the web scraping and geocoding, producing a GeoJSON file)
  • Then you can use the GeoJSON however you want, or you can start up a simple webserver to check out a sample webpage I've already prepared: in the same directory as index.html, try python -m SimpleHTTPServer, then navigate to localhost:8000 in your web browser.

Disclaimer

The data that this scraper scrapes is © UFO Focus New Zealand Research Network (UFOCUS NZ) 2015. I have not asked their permission, but I am not redistributing any of UFOCUS' content—merely using it for private enjoyment. This is a tool that allows individuals to view the information that UFOCUS presents on their website in a slightly different format. I am not redistributing any of that content without UFOCUS' permission. If someone else chooses to use this tool to distribute content that that person does not hold copyright for, I cannot be held liable for that.

Sample

Sample image 3: popup with Twitter Bootstrap icons

Thanks to...

nz-ufo-sightings's People

Contributors

alpha-beta-soup avatar

Watchers

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