soup = BeautifulSoup(html,'lxml') soup.prettify() ... data_name_list.append(li.get_text()) data_xls_list.append(pre_url + a.attrs['href'])
確定! 回上一頁