YouTube maxresdefault thumbnails

You can use YouTube Data API to retrieve video thumbnails, caption, description, rating, statistics and more. With the YouTube Data API, you can add a variety of YouTube features to your application. For the high quality version of the thumbnail use a url similar to this: http://img.youtube.com/vi/<insert-youtube-video-id-here>/hqdefault.jpg There is also a medium quality version of …

Read more

How can I get the actual video URL of a YouTube live stream?

You need to get the HLS m3u8 playlist files from the video’s manifest. There are ways to do this by hand, but for simplicity I’ll be using the youtube-dl tool to get this information. I’ll be using this live stream as an example: https://www.youtube.com/watch?v=_Gtc-GtLlTk First, get the formats of the video: ➜ ~ youtube-dl –list-formats …

Read more

cURL error 60: SSL certificate prblm: unable to get local issuer certificate [duplicate]

If you are on Windows using Xampp, I am stealing a better answer from here, would be helpful if Google shows you this question first. Download and extract for cacert.pem here (a clean file format/data) https://curl.haxx.se/docs/caextract.html Put it in : C:\xampp\php\extras\ssl\cacert.pem Add this line to your php.ini curl.cainfo = “C:\xampp\php\extras\ssl\cacert.pem” restart your webserver/Apache

Youtube api v3 Get list of user’s videos

The channels#list method will return a JSON with some information about the channel, including the playlist ID for the “uploads” playlist: https://www.googleapis.com/youtube/v3/channels?part=contentDetails&forUsername=OneDirectionVEVO&key={YOUR_API_KEY} With the playlist ID you can get the videos with the playlistItems#list method: https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId=UUbW18JZRgko_mOGm5er8Yzg&key={YOUR_API_KEY} You can test those at the end of the documentation pages.