Name: property-image-cache
Owner: datamade
Description: :house: A Flask app to cache images from the Cook County Property info site
Created: 2015-09-10 21:32:51.0
Updated: 2017-01-05 17:04:22.0
Pushed: 2017-09-22 18:54:16.0
Size: 1246
Language: Python
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
The one-stop shop for all your cross origin request needs. This README contains only instructions for Councilmatic users.
Update LEGISTARS and WHITELIST in app.py
.
The LEGISTARS variable should point to a city name and the url to its legistar site. The WHITELIST variable should point to the url that appears in the document link. Note: you may need two per city, as in the case of LA Metro.
Find the full_text_doc_url
method, which generates an encoded url that directs to a document or image. To test this locally, the base url should point to your local port:
se_url = 'https://pic.datamade.us/lametro/document/'
_url = 'http://127.0.0.1:5000/lametro/document/'
on app.py
Then, go to a Councilmatic page of your chosing, and view your embedded PDF.
When you finish, do not forget to pull your changes onto the “Hotdog Princess” server.