Hey Tomas, thanks for the feedback - both css_selector looks good and waiting for elements is pretty important I agree - so definitely more on that next time!

Your question about the dataframe is good because that is a mistake in the code where I had not updated it, rather than print in 'video_data.py' it should have been:

# add results

data = data.append({

'title': title,

'author': author,

'views': views,

'link': link

}, ignore_index=True)

Thanks for reading and following, there are plenty more articles on the way!

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store