I'm trying to scrape the imdb top 250 movies and I want to get all the links of those movies from this page https://www.imdb.com/chart/top/
I tried
html = urlopen('https://www.imdb.com/chart/top/')
bs = BeautifulSoup(html,'html.parser')
links = []
for link in bs.find('td',{'class':'titleColumn'}).find_all('a'):
links.append(link['href'])
print(links)
but I'm only getting the first link only, so my question is how to scale this code to include the whole list of 250 movies?