
* 겪고 있는 문제 상황을 최대한 자세하게 작성해주세요.
* 문제 해결을 위해 어떤 시도를 해보았는지 구체적으로 함께 알려주세요.
for tr in trs:
rank = tr.select_one('td.number').text.strip()
title = tr.select_one('td.info > a.title.ellipsis').text.strip()
artist = tr.select_one('td.info > a.artist.ellipsis').text
print(rank, title, artist) 를 작성하고 터미널 실행을 하니
'1
20상승 바라만 본다 MSG워너비 (M.O.M)'가 나왔습니다.
여기서 rank에 .text[0:2]으로 바꿨을 때,
