hearings about/url fix

This commit is contained in:
James Turk 2025-01-10 17:27:33 -06:00
parent f4aaa31d00
commit 7d3cb639be
3 changed files with 4 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import pathlib
from . import app
from flask import request, abort
BASE_API_URL = "https://scrapple.fly.io/hearings/"
BASE_API_URL = "https://scrapple.fly.dev/hearings/"
BASE_DIR = pathlib.Path("data/congress-hearing-118-house")
# not actually secret, but for testing API Keys
API_SECRET = "53cR3T"

View File

@ -19,6 +19,8 @@
<p> Chicago Parks data scraped from <a href="https://www.chicagoparkdistrict.com/about-us/history-chicagos-parks">Chicago Park District</a> replicated here for educational purposes. It is not meant to be authoritative and is not kept up to date.</p>
<p> Hearings is a simulacrum of the /v3/hearings endpoint from the <a href="https://gpo.congress.gov">Congress.gov API</a> </p>
<p>As for Yoyodyne, <a href="https://letterboxd.com/film/the-adventures-of-buckaroo-banzai-across-the-8th-dimension/">here you go</a>.</p>
</div>
</div>

View File

@ -7,6 +7,7 @@
This site consists of several subsites.
<ul>
<li><a href="/parks">Chicago Parks</a> - pagination, small variations</li>
<li><a href="/hearings">Congressional Hearings</a> - a small JSON API</li>
<li><a href="/staff">Yoyodyne Propulsion Systems</a> - pagination, subpages, errors</li>
</ul>
</div>