c_name = info_box.find('dt', text='Contact Person:').find_next_sibling('dd').text
The message is telling you that
info_box.find
did not find anythings, so it returned
None
. And a
None
object does not have any properties or methods, so you cannot call
find_next_sibling
on it. When you use a method that may fail you should always check its return value before trying to use it in a pipeline.