Be more pythonic.

I updated the script to be a bit more pythonic.

Now, since i do not have a dayviews account I can't test my changes, but they *should work*. Either way, see them as a guideline (and please test before you merge, if you merge). :)
Handle the strange string.
Merge pull request #1 from lndbrg/patch-1

Be more pythonic.