Beautiful Soup을 배우고 페이지에서 모든 링크를 추출하려고하는데 http://www.popsci.com ... 구문 오류가 발생합니다.내 링크 추출이 작동하지 않는 이유는 무엇입니까?
이 코드는 작동하지만 어떤 페이지에서도 사용하지 않습니다. 나는 왜 그것이 정확하게 작동하지 않는지 알아 내려고 노력하고있다. 여기
내 코드입니다 :Traceback (most recent call last):
File "/root/Desktop/3.py", line 12, in <module>
print eachsci['href']+","+eachsci.string
TypeError: coercing to Unicode: need string or buffer, NoneType found
[Finished in 1.3s with exit code 1]
가, 감사합니다 :) – Ninja2k