GithubHelp home page GithubHelp logo

city-bureau / city-scrapers-det Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 5.0 1015 KB

City Scrapers project for Detroit

Home Page: https://cityscrapers.org/

License: MIT License

Shell 0.15% Python 99.85%
city-scrapers hacktoberfest open-data python scrapy web-scraping

city-scrapers-det's People

Contributors

avelosa avatar maxresnik avatar pjsier avatar rhetr avatar shf avatar simmonsritchie avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

city-scrapers-det's Issues

Spider: Great Lakes Water Authority

Spider Info:

URL: https://www.glwater.org/events
Spider Name: det_great_lakes_water_authority
Agency Name: Great Lakes Water Authority

Issue/problem:

Spider is using a deprecated events page which has outdated meeting data: https://glwater.legistar.com/Calendar.aspx

^The above link is a Legistar page, whereas the new Great Lakes Water Authority events page uses a Wordpress Tribe Events Calendar.

Intended fix:

The first fix will just move support over to the new events page. A subsequent fix can move the Wordpress Tribe Events Calendar logic to a standalone module/mixin to be shared across spiders/scrapers, even possibly across repos (i.e. moved to city-scrapers_core).

STATUS:

I've already started a fix (@s-j-b), will push a PR and update tests.

Mixin: detroit_authority is broken

affected spiders

  • det_brownfield_redevelopment_authority.py
  • det_downtown_development_authority.py
  • det_economic_development_corporation.py
  • det_eight_mile_woodward_corridor_improvement_authority.py
  • det_local_development_finance_authority.py
  • det_neighborhood_development_corporation.py
  • det_next_michigan_development_corporation.py

proposed solution

short term: scrape the embedded yoast schema graph to graph the information
long term: create a new mixin using the wordpress events calendar API as mentioned in #22

status

i created a branch in my fork and updated the scraper to parse the yoast schema graph; however, the tests are failing. I'm unsure if it is imperative to fix the tests since we plan to overhaul the mixin in the near future anyway.

it's also unclear to me the exact purpose of _parse_prev_meetings() but it doesn't seem to be broken so i have not modified it.

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.