5 ('Connection aborted.', BadStatusLine("''",))
266 Traceback (most recent call last):
267 File "/home/shenjianlin/log/my_project/
run.py", line 58, in <module>
268 run().get_spider()
269 File "/home/shenjianlin/log/my_project/
run.py", line 54, in get_spider
270 qimingpian().get_id_and_front_url()
271 File "/home/shenjianlin/log/my_project/qimingpian_person/
qimingpian_person.py", line 181, in get_id_and_front_url
272 self.get_agency_content(row_column_list[i], row_column_list[i+1], auth, proxies,user_index)
273 File "/home/shenjianlin/log/my_project/qimingpian_person/
qimingpian_person.py", line 408, in get_agency_content
274 if len(etree.HTML(org_content).xpath('//div[@class="info"]/a/span[@class="name"]/text()')) == 1:
275 UnboundLocalError: local variable 'org_content' referenced before assignment