AttributeError: 'unicode' object has no attribute 'add'报错是什么问题
for link in links:
new_url = link['href']
new_full_url=urlparse.urljoin(page_url,new_url)
new_url.add(new_full_url)
return new_urls
for link in links:
new_url = link['href']
new_full_url=urlparse.urljoin(page_url,new_url)
new_url.add(new_full_url)
return new_urls
2017-10-17
举报