Factor _id to a common lookup.
Add dependency for beautifulsoup