As @dloser said it is possible to automate this process… actually there are tons of ways.
[quote=RoonilWazlib]put the text in the field and press submit w/ a program[/quote]
There is a nice module called Mechanize for Python, which is based on the WWW:Mechanize perl module if I remember correctly, that allows you to do exactly this.
It is very, very powerful, however it can be almost overkill for that challenge.
I also suggest to use “requests”, you can log in to the site with just 2 lines of code and then concentrate on the main part of the program.
If you don’t know how to parse the HTML code of the page you can take a look at BeautifulSoup, it is easy to use and also allows you to use lxml’s HTML parser.