diff --git a/cron/legislators.php b/cron/legislators.php index 544b8ae..dfc9d1b 100644 --- a/cron/legislators.php +++ b/cron/legislators.php @@ -51,7 +51,7 @@ /* * Get delegates. Their House ID (e.g., "H0200") is the key, their name is the value. */ -$html = get_content('http://virginiageneralassembly.gov/house/members/members.php'); +$html = get_content('http://virginiageneralassembly.gov/house/members/members.php?ses=' . SESSION_YEAR); preg_match_all('/id=\'member\[H([0-9]+)\]\'>(.*?)<\/a>/m', $html, $delegates); $tmp = array(); $i=0;