django-councilmatic icon indicating copy to clipboard operation
django-councilmatic copied to clipboard

Include OCD API URLs in logging when DEBUG mode is on

Open ErnieAtLYD opened this issue 8 years ago • 0 comments

Since we're implementing Miami's version of Councilmatic we are also working with the scraper API in development. There have been times when we wanted to check what the API is pulling in but with no way to log the URLs that can be difficult. Maybe in loaddata.py, something like:

            if DEBUG:
                print(full_url) # before requests.get(url) is invoked

ErnieAtLYD avatar Mar 19 '16 21:03 ErnieAtLYD