Update bs4 api calls in pelican_import.py