-
카테고리
-
세부 분야
데이터 분석
-
해결 여부
미해결
네이버 쇼핑 상품 정보 수집하기에서 AttributeError가 뜹니다
21.12.19 00:25 작성 조회수 166
0
name = item.find_element_by_selector(
'.basicList_title__3P9Q7').text
price = item.find_element_by_selector('.price_num__2WUXn').text
link = item.find_element_by_selector( '.basicList_title__3P9Q7>a').get_attribute('href')
를 입력했는데, AttributeError: 'WebElement' object has no attribute 'find_element_by_selector'가 뜹니다 그래서 버젼문제인가 싶어서 버젼을 낮춰봤는데도 안되더라고요 무엇이 문제인가요?
답변을 작성해보세요.
1
답변 1