- POST a bunch of IDs.
queueParliamentarianIds
sends each ID to Pub/Sub. - Pub/Sub triggers a background function,
downloadParliamentarianData
. downloadParliamentarianData
loads the parliamentarian page URL and extracts the data, storing them in Cloud Storage.
Get info for a specific parliamentarian:
https://lop.parl.ca/ParlinfoWebApi/Person/GetPersonWebProfile/{ID}?callback=jQuery33107266187344061623_1569968990479&_=1569968990480