question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Spider: Detroit Historic District Commission

See original GitHub issue

URL: https://detroitmi.gov/Calendar-and-Events Spider Name: det_historic_district Agency Name: Detroit Historic District Commission

See the contribution guide for information on how to get started

This scraper is part of the general Detroit website which does a good job standardizing meeting information so most of the work is done for you in DetCityMixin.

To pull most of the information for a general detroitmi.gov scraper, you need to go to the events page, filter for the agency in the Government select field, and then get the ID that shows up next to term_node_tid_depth_1= on the results page URL.

Then, to pull any related documents, go the the documents page, look for relevant document categories in the Government autocomplete field, filter for them, and then pull the ID from the parameter in the results page URL that follows field_department_target_id_1. On initial filter, it will pull in a label too (ex. for the City Planning Commission it shows City+Planning+Commission+Minutes+(3761)) but you only need the number in parentheses.

Once you’ve included that information, you can override methods like _parse_title if the defaults aren’t right, and you’ll still need to implement _parse_classification. See det_city_planning or det_zoning_appeals for some examples

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pjsiercommented, Mar 17, 2019

The only documents that get associated to meetings with the current Detroit setup are ones with dates corresponding to meetings in the title, so I think we should be good for now, but thanks for taking a closer look at that @cascio

1reaction
casciocommented, Mar 17, 2019

Currently working on this one, should have a PR up soon!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Historic District Commission | City of Detroit
Formed by Detroit Ordinance 161-H in 1976, the Detroit Historic District Commission's purpose (HDC) is to ensure the preservation of historically and ...
Read more >
Detroit Historic District Commission - Facebook
Detroit Historic District Commission, Detroit, Michigan. 3455 likes. The Detroit Historic District Commission ensures the preservation of the designated...
Read more >
Detroit Historic District Commission Guidelines and Procedures
DETROIT HISTORIC DISTRICT COMMISSION GUIDELINES & PROCEDURES ... All exterior work on homes in the District must be approved by the Historic Commission....
Read more >
Historic District Commission | Washtenaw County, MI
The Washtenaw County Historic District Commission shall consist of seven or nine members to be appointed by the Chair of the Washtenaw County...
Read more >
I live in a historic district! What do I need to know?
If your property is in an historic district, then exterior work must have prior approval by the City of Detroit Historic District Commission...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found