
결과 값이 리스트로 출력이 되어야하는데 50번째 클레멘타인만 출력이 됩니다.
"/Users/birdcancer/Desktop/birdcancer code/sparta/pythonprac/venv/bin/python" "/Users/birdcancer/Desktop/birdcancer code/sparta/pythonprac/hello.py"
50 클레멘타인 9.37
Process finished with exit code 0
movies = soup.select('#old_content > table > tbody > tr')
for movie in movies:
a = movie.select_one('td.title > div > a')
if a is not None:
title = a.text
rank = movie.select_one('td > img')['alt']
star = movie.select_one('td.point').text
print(rank,title,star)
