changed import to bs4 from Beautiful soup
added zero-index to the dictionary list object, that i think was caused by differences in python versions.