import requests
from bs4 import BeautifulSoup
데이터 = requests.get("https://m.sports.naver.com/scoreboard/index?date=2024-06-13")
soup = BeautifulSoup(데이터.content, 'html.parser')
print(soup.find_all('time', class_="TodayMatchTimeLine_time_info__1Rw1f"))
print(soup.find_all('span', class_="blind"))
returns:
[]
[]
다른것들도 '[]' 만 리턴해서 살펴보니 리퀘스트 주소에 index.html 이 정보를 제대로 안들고 있던데, 이런경우는 json 객체 찾아서 수집해야하나요?
-
이 게시글은
H에 의해 1 년 전에 수정됐습니다.