Used for testing uk_planning_scraper Ruby gem in the Morph environment
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

README.md 858 B

il y a 5 ans
il y a 5 ans
il y a 5 ans
123456789101112
  1. # Scrape planning applications for a single council/authority
  2. 1. Fork this repo to your own GitHub account.
  3. 2. Sign in to [Morph](https://morph.io) with your GitHub account.
  4. 3. Create a [new scraper](https://morph.io/scrapers/new) on Morph.
  5. 4. Choose your forked repo (`single_authority_planning_applications`) as the scraper code.
  6. 5. In the Morph settings page, create two `Secret environment variables`:
  7. 6. Set `MORPH_AUTHORITY_NAME` to the name of your council, eg `Hackney`.
  8. 7. Set `MORPH_DAYS` to the number of recent days you want to scrape, eg `7`.
  9. 8. Run the scraper.
  10. 9. Use the [Morph API](https://morph.io/documentation/api) to grab your scraped data or download CSV/SQLite files straight from your scraper page. You must be signed in to do that.
  11. 10. On your scraper's Settings page, tick the `Auto run` box to make your scraper run once per day.