并购
https://www.itjuzi.com/merger/367
static_acq_com_name:上海都玩网络
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/gevent/greenlet.py", line 536, in run
result = self._run(*self.args, **self.kwargs)
File "/home/stephen/PycharmProjects/IT_Orange/it_orange.py", line 343, in Orange_Acquisition
static_acq_store_per = etree.HTML(static_page_merge_data).xpath(' //div[@class="dbi"]/div[2]/h2/text()')[0] # 收购方占比8
IndexError: list index out of range
Tue Jan 30 23:53:09 2018 <Greenlet at 0x7fae784b7230: <bound method it_orange.Orange_Acquisition of <__main__.it_orange instance at 0x7fae797713f8>>(11, '\xe4\xb8\x8a\xe6\xb5\xb7')> failed with IndexError
这是异步爬虫的,为啥会出现上述问题?