웹스크롤링 질문!
조회수 350회
pages = soup.find('div', {'class' : 'sc_page_inner'}) next_page_url = [p for p in pages.find_all('a') if p.text == str(cur_page)][0].get('href') 에서 if p.text == str(cur_page)[0] 부분이 어떤 걸 의미하나요?? p에 a태그 달린 것들이 다 담기는 것 까지는 이해가 되었습니다 ㅠㅠㅠ
-
(•́ ✖ •̀)
알 수 없는 사용자
댓글 입력