Check database before scraping. Fix other errors.

Main thing is fixing #13. Fixed the error for the `bnn_*` sites giving a server error.