Daily Coding - Downloading videos from Youtube - Parenting mis-tip

Daily Coding - Downloading videos from Youtube - Parenting mis-tip

. 2 min read

Let's make this extremely quick again. I've been pretty busy for the last couple of days (coding :) ), and haven't been really doing a good job on the #dailycoding exercises.

So here's again a quick one. I hope to change my schedule and try and make more time for this activity.

But ... good news! :-)

This post is going to change your life.

So let's say you're a parent, want to take his/her daughter to the countryside and you are nervous, and are not very sure about the internet connectivity and not very sure on keeping your daughter engaged through the day (and night) without the aid of technology and YouTube. Believe me, it is going to be pretty darn difficult!

So here's a solution, a very quick way to download the videos off YouTube:

  • shortlist the videos
  • make an array in a text editor
  • copy and paste the URLs into the script
  • run the script (you will need you-get)

Its a life saver! Hope this does good and happy vacation. :-)

#!/bin/bash

ids=(https://www.youtube.com/watch?v=NWK4mQq2Bh0 https://www.youtube.com/watch?v=G_ovC0xxUT4 https://www.youtube.com/watch?v=pyoYhEm2vn8 https://www.youtube.com/watch?v=dfkI14p3GN8 https://www.youtube.com/watch?v=0ehB5AVrjCM https://www.youtube.com/watch?v=knOUv2ZDk0Y https://www.youtube.com/watch?v=pTxiE201Oug https://www.youtube.com/watch?v=9b3TfJV1CPw https://www.youtube.com/watch?v=g7i8Gaei8zM https://www.youtube.com/watch?v=UWY3MwqiH00 https://www.youtube.com/watch?v=j1TX9Yy1jos https://www.youtube.com/watch?v=Ki5L_X_Jiok https://www.youtube.com/watch?v=IUk5iHkIXjA https://www.youtube.com/watch?v=P1i9O5g3LA0 https://www.youtube.com/watch?v=90wqSobHYg8 https://www.youtube.com/watch?v=Ian0WUKVc5A https://www.youtube.com/watch?v=Y2mVolLXFJM https://www.youtube.com/watch?v=M19teC73sLc https://www.youtube.com/watch?v=f9RYRJhDoyc https://www.youtube.com/watch?v=mZI3eD_F71o https://www.youtube.com/watch?v=5jzDeZqH_Gg https://www.youtube.com/watch?v=uoKdeyvmY0s https://www.youtube.com/watch?v=9HX90UEXtzU https://www.youtube.com/watch?v=9KohnJ_YUR4 https://www.youtube.com/watch?v=GcP-Fua4uTc https://www.youtube.com/watch?v=M1dLI07sYvo https://www.youtube.com/watch?v=zok_gJy9FXI https://www.youtube.com/watch?v=V1yDZf79USQ https://www.youtube.com/watch?v=vzypGwMGYLI https://www.youtube.com/watch?v=Se76XHf3WZk https://www.youtube.com/watch?v=7qpYCMnM5rA https://www.youtube.com/watch?v=TY3ykxWuIic https://www.youtube.com/watch?v=WzABi43aoNw https://www.youtube.com/watch?v=3rg81AOMrXo https://www.youtube.com/watch?v=7pCWlPm46Kk https://www.youtube.com/watch?v=toPfMn3D4fA https://www.youtube.com/watch?v=tGhTeQyYFaE https://www.youtube.com/watch?v=3vXvBxamy_0 https://www.youtube.com/watch?v=vjfQskC4kyA https://www.youtube.com/watch?v=qkw36rAIIxU https://www.youtube.com/watch?v=mKUfPn9-C78)

for m in "${ids[@]}"; do
    echo $m
    you-get $m
done

Tags

AWS Analytics Antifragile Apache Spark Apple Apps Arbitrage Automation Awesome BBMP Bangalore Black Swan Bonds Boonex Bootstrap Brokerage Charges CFPB CMS CSS Calypso Camelot Capital Markets Charts Chirp Choropleth Chrome Code Igniter Collections Containerization Converters Cycling DalalBeat Data Analytics Data Journalism Data Mining Data Munging Data Privacy Data Science Databases Debt Design Design Stock DesignStock Diet Django Docker Document Processing Dropbox Electron Electronics Entertainment Entrepreneurship Exercise FFMPEG Facebook Finance Fire TV Stick Fitness Forerunner From-The-News Fun Futures Gaana Garmin General Geocoding Getting Started Ghost Google APIs GraphicsMagick HHVM HTTPS Hackathon Hacks Hardware Health House Keeping Housing IBM BlueMix IBrokers IPinfo Ideas Image Conversion Image Processing Infographics Interactive Brokers Internet Investing IoT Legal Lets Encrypt Mac Machine Learning Mailbox app Mapbox Markdown Marketing Meteor Mockups MongoDB Mortgages Movies Music MyPad MySQL Nativefier Nature Netflix Newsletters Nginx Node.js Notes OCR OSX Open Source OpenCPU Options PDF PHP Pebble Peloton Personal Photography Picture Platforms Plex Portable Apps Productivity Property Tax PyroCMS Quantitative Finance R-Project Random Raspberry Pi Research Resources Reticulate Robot S3 SQLite STT Scraping Security Server Shell Shiny Side Project Sikuli Speech Recognition Spider Pro Spinning Spotify Startup Resources Startups Strategy Sublime Text System Monitoring Tax Terminal Tips To Do Tools Torrent Trading Trends Troubleshooting USElection2016 Ubuntu Unix Valuations Video Conversion Visualization Wagtail Wearables Weekend Fun WhatsApp Wordpress anaconda annie bash catalina cv2 daily coding dailycoding data.table debugging devtools downloader e-Signatures ggplot git go google maps hat-tip iOS iPad iPhone iTunes javascript jupyter logging macos numpy opencv optionality plotly python rstats videos youtube