I am writing a program in Java which requires that I extract information from my college's website (menu items to be specific). I can do this perfectly given today's menu. On the webpage, if I want to look at tomorrow's menu it only appends a #menu
to the current URL. If I put that specific URL into my program, it still gives me the menu for today. Basically, I need to figure out how to properly alter the URL to get the menu for any meal of the day and any day. I don't have much experience at all with HTML, but here is part of the source code from the website. I appreciate any advice!
</table></div>
<div id="cs_control_38750" class="cs_control CS_Element_CustomCF">
<div id="CS_CCF_9441_38750">
<link rel="stylesheet" type="text/css" media="screen" href="/living/style/lac_menuitems.css" />
<a name="menu"></a>
<FORM action="#menu" method="POST" name="menuform" id="menuform">
<select name="menudates" id="menudates" onchange="submit();">
<option value="2015-05-21">05/21/2015</option>
<option value="2015-05-22">05/22/2015</option>
<option value="2015-05-23">05/23/2015 ...
</select>
<select name="menuperiod" id="menuperiod" onchange="submit();">
<option value="Breakfast">Breakfast</option>
<option value="Brunch">Brunch</option>
<option value="Lunch" selected>Lunch</option>
<option value="Dinner">Dinner</option>
</select>
<select name="menulocations" id="menulocations" onchange="submit();">
....
</select>