You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.
웹개발 종합반 강의 중 웹크롤링 부분 다시 보면서 따라하고 있는데,
coffees = soup.select('#PLPListContainer > div')
for coffee in coffees:
a = coffee.select_one('div.cn_card__image > a > img')
if a is not None:
아직 이 정도고 더 보완하겠습니다~
[커피_이름]
#PLPListContainer > div:nth-child(6) > nb-plp-category > article > nb-container:nth-child(2) > section > div > div > div.cb-plp-category--center > div > nb-plp-product-card:nth-child(7) > div.cn_card__content > h3 > a
[커피_설명]
#PLPListContainer > div:nth-child(6) > nb-plp-category > article > nb-container:nth-child(2) > section > div > div > div.cb-plp-category--center > div > nb-plp-product-card:nth-child(7) > div.cn_card__content > p
[용량]
#PLPListContainer > div:nth-child(6) > nb-plp-category > article > nb-container:nth-child(2) > section > div > div > div.cb-plp-category--center > div > nb-plp-product-card:nth-child(7) > div.cn_card__content > h3 > p.ml-sizes
[강도]
#PLPListContainer > div:nth-child(6) > nb-plp-category > article > nb-container:nth-child(2) > section > div > div > div.cb-plp-category--center > div > nb-plp-product-card:nth-child(7) > div.cn_card__content > nb-intensity > div > div.intensity
[산미]
#PLPListContainer > div:nth-child(6) > nb-plp-category > article > nb-container:nth-child(2) > section > div > div > div.cb-plp-category--center > div > nb-plp-product-card:nth-child(7) > div.cn_card__content > nb-intensity > div > div.acidity
[가격]
#PLPListContainer > div:nth-child(6) > nb-plp-category > article > nb-container:nth-child(2) > section > div > div > div.cb-plp-category--center > div > nb-plp-product-card:nth-child(7) > div.cn_card__content > div > div > p.cn_card__priceWrapper--current > span
[캡슐 수]
#PLPListContainer > div:nth-child(5) > nb-plp-category > article > nb-container:nth-child(2) > section > div > div > div.cb-plp-category--center > div > nb-plp-product-card:nth-child(7) > div.cn_card__content > div > div > p.cn_card__priceWrapper--items.showSleeve
The text was updated successfully, but these errors were encountered: