AI, Data Science & Cloud Certificates from Google, IBM & Meta
Launch Your Cybersecurity Career in 6 Months
Overview
AI, Data Science & Cloud Certificates from Google, IBM & Meta — 40% Off
One plan covers every Professional Certificate on Coursera. 40% off Coursera Plus Annual.
Unlock All Certificates
Learn how to programmatically sort a YouTube playlist by the most popular videos using Python in this 22-minute tutorial. Discover techniques to retrieve and analyze playlist data, create custom sorting algorithms, and generate a list of the most-watched videos. Explore the YouTube API, implement f-strings for formatting, and apply sorting and slicing methods to manipulate data effectively. Follow along with provided code samples and documentation links to enhance your Python skills and create practical solutions for managing YouTube content.
Syllabus
Intro
Overview of Previous Script
Playlist ID
Modify Script
Documentation
Creating YouTube Links
Creating a Global List
Print Video URLs
Print Video Length
Highest Views
List Slicing
Outro
Taught by
Corey Schafer