Back to Blog

Youtube video XML url : Part 5

Youtube video XML url : Part 5- So open youtube.com and open a play list

Search a channel on youtube and open it. You will find a playlist tab . Open that tab and it will display playlist. Click on any play list and you will see url of play list

https://www.youtube.com/watch?v=DPbnQFxdpPg&list=LLA34Z3lq8FozSQzDHsSLcmQ

In this url last parameter is playlist id LLA34Z3lq8FozSQzDHsSLcmQ

By using this playlist id you can find xml data of youtube videos

So we will now use video.xml url of youtube to display xml data

https://www.youtube.com/feeds/videos.xml?playlist_id=LLA34Z3lq8FozSQzDHsSLcmQ

We will get Title , thumnail url and video id from this xml feed to display list of all videos. To achieve this goal we need to parse xml and get data.

This process I will describe in further Step

Back to Blog
top