How to Download a YouTube Video or Channel
A guide on using the yt-dlp tool to download individual YouTube videos or entire channels, including audio-only options.
David Walsh Blog is a long-standing hub for web developers who want to grow through real-world code and honest experience. It features hands-on tutorials, deep dives, and opinion pieces on modern web technologies - from JavaScript, CSS, and HTML5 to frameworks, APIs, and performance techniques. With a focus on practicality and clarity, the blog helps developers of all levels write cleaner, faster, and smarter code while staying in tune with the evolving web.
18 Articles from this blog
A guide on using the yt-dlp tool to download individual YouTube videos or entire channels, including audio-only options.
A guide on using the curl command's -H flag to add custom HTTP headers to your requests, with examples.
Explains how to use the case-insensitive flag (i) in CSS attribute selectors to match values regardless of uppercase or lowercase letters.
Learn how to change your Mac's system date from the command line for testing date-based logic in applications.
Learn how to use a Windows command to retrieve the password for a saved WiFi network, useful for guest access.
A guide to fixing reversed WASD and arrow keys in Windows, with a simple FN+W key combination solution.
A guide to using the native HTML popover attribute to create modals without JavaScript, including code examples.
A nostalgic look back at the early days of web development, from table layouts to dial-up modems, by a developer with 20 years of experience.
Learn how to use JavaScript's getModifierState to detect if a user's Caps Lock is on, especially useful for password fields.
Learn how to use CSS's height: auto to override HTML image dimensions for responsive design without distortion.
Analyzing and fixing Cumulative Layout Shift (CLS) issues on DavidWalshBlog to improve user experience and search rankings.
A guide to using the Date.now() method in JavaScript for getting timestamps and simple date logic.
Learn how to use JavaScript regular expressions to extract numbers from strings, a common task when processing user input from forms.
A critical look at the 2024 streaming landscape, covering Netflix, sports costs, brand changes, and the push for ad-supported tiers.
Learn how to use the new CSS `field-sizing: content` property to create textareas that automatically expand to fit their content.
A guide on how to download, patch, and play the Super Mario World ROM hack, Grand Poo World 3.
Learn how to use the 'git branch --show-current' command to display your current Git branch name for command line and automation tasks.
How to enable and configure the AutoSave feature in Visual Studio Code to automatically save files after a delay.