Polished version

Refined the code and tested to verify that it works as expected.  Note, this can run via a normal browser, but works best when used in tandem with a headless browser.  Utilize crontab to fully automate this script and the headless server, and you'll never have to use Bing intentionally again.