Add a dirty hack to work around a plainly silly check in beautiful soup that breaks on app engine.
Fix example script