https://news.naver.com/main/ranking/read.nhn?mid=etc&sid1=111&rankingType=popular_day&oid=277&aid=0004683389&date=20200522&type=0&rankingSectionId=101&rankingSeq=1


이 뉴스 기사의 순공감순 댓글을 긁어모으고 싶은데


import requests
from bs4 import BeautifulSoup
url = 'https://news.naver.com/main/ranking/read.nhn?mid=etc&sid1=111&rankingType=popular_day&oid=277&aid=0004683389&date=20200522&type=0&rankingSectionId=101&rankingSeq=1'
r = requests.get(url, verify=False)
html = r.text
soup = BeautifulSoup(html, 'html.parser')

datgul = soup.find_all('span.u_cbox_contents')
print(datgul)


코드를 이렇게 짰단 말입니다

근데 시발 안긁어집니다....

이유가 뭘까요?


C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\lib\site-packages\urllib3\connectionpool.py:979: InsecureRequestWarning: Unverified HTTPS request is being made to host 'news.naver.com'. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings

  warnings.warn(

[]

밑은 에러 전문입니다


한번만 도와주세요 형님덜,....