Fixed an infinite loop

soup.get_text() is of type unicode, and hence created an infinite loop. Added .encode("utf-8") and tweaked the code to make it filter out keywords properly