강의

멘토링

커뮤니티

Inflearn Community Q&A

romilda5933's profile image
romilda5933

asked

Introduction to Python and Creating Various Automated Applications Using Web Crawling

BeautifulSoup Usage and Simple Web Parsing Basics (1)

txt결과값이 다릅니다

Resolved

Written on

·

282

0

강의와 같은 코드를 작성했느데 a.string의 출력값이 변하지 않아서 어떤게 잘못된건지 알 수 있을까요?

다음에 find_all("a",string="daum")을 print해도 []이렇게 찾을 수 없습니다..

 

웹-크롤링python

Answer 2

0

rome님의 프로필 이미지
rome
Questioner

a.string이  어떤 것을 출력해주는지 헷갈려서 생긴 문제였습니다. 감사합니다!

0

niceman님의 프로필 이미지
niceman
Instructor

안녕하세요. rome 님

 

txt 결과값이 다르다는 게 무슨의미인지 모르겠습니다.

 

지금 화면 스샷에 있는 2-5-3.py 예제는 변경된 것이 없는 예제 입니다.

 

https://github.com/eunki7/python_create_app_1/blob/master/section2/2-5-3.py

 

해당 소스코드를 다시 한 번 살펴봐 주세요.

 

감사합니다.

romilda5933's profile image
romilda5933

asked

Ask a question