Fix deprecated soup and URL encoding

Fixes #7 and fixes #8