Injecting configuration and compiling...
Injecting scraper and running...
paged url: http://clinicalofficerscouncil.org/online-services/retention/?currpage=1
response:
{'ResponseMetadata': {'HTTPHeaders': {'content-length': '47', 'content-type': 'application/json; charset=utf-8', 'connection': 'keep-alive', 'x-amzn-requestid': '9918ecc0-0566-11e7-9e3d-7ff6acaa4d6d', 'date': 'Fri, 10 Mar 2017 07:53:07 GMT'}, 'HTTPStatusCode': 200, 'RequestId': '9918ecc0-0566-11e7-9e3d-7ff6acaa4d6d', 'RetryAttempts': 0}, u'adds': 30, u'deletes': 0, u'status': u'success'}
paged url: http://medicalboard.co.ke/online-services/retention/?currpage=1
paged url: http://medicalboard.co.ke/online-services/foreign-doctors-license-register/?currpage=1
Traceback (most recent call last):
File "scraper.py", line 78, in <module>
persons.append(person)
AttributeError: 'str' object has no attribute 'append'