diff --git a/cron/legislators.php b/cron/legislators.php index bb21dbb..7939952 100644 --- a/cron/legislators.php +++ b/cron/legislators.php @@ -70,7 +70,7 @@ /* * Get senators. Their Senate ID (e.g., "S100") is the key, their name is the value. */ -$html = get_content('https://lis.virginia.gov/241/mbr/MBR.HTM'); +$html = get_content('https://lis.virginia.gov/' . SESSION_LIS_ID . '/mbr/MBR.HTM'); if ($html == false) { $log->put('Could not load Senate listing. Abandoning efforts.', 5);