StackGuides StackGuides
  • Lastest
  • Hot
  • Week
  • Month
  • Bounties
  • Questions
    Newest Active Bounties Unanswered Frequent Votes

iOS: How to get Youtube Video stream url?

1
votes

I have Youtube direct link like: http://www.youtube.com/watch?v=gmbjSvWhp48

I want to get the stream url to download this video, the stream url looks like: http://r5---sn-8qj-i5oz.googlevideo.com/videoplayback?app=youtube_mobile&upn=Cz_UBAXUYPc&ip=113.190.227.224&key=yt5&ipbits=0&ratebypass=yes&source=youtube&sparams=id%2Cip%2Cipbits%2Citag%2Cratebypass%2Csource%2Cupn%2Cexpire&el=watch&id=15e7f026685672db&yms=8CYHy94BUPw&ms=au&mt=1386558301&fexp=941262%2C936912%2C936910%2C923305%2C936913%2C907231%2C907240&itag=18&dnc=1&mv=m&expire=1386582066&sver=3&signature=497EAB4477F77C7B9E50A9018F8642B9D028A10F.EFC8DD3E5C27597F8069A5A4CBD09293FF263383

So how do I get this link?

1
iosvideoyoutubensregularexpressionyoutube-channels
jacob jacob

1 Answers

1
votes

You'll probably want the Youtube Data API and Youtube Player API.

https://developers.google.com/youtube/v3/

Joel Hernandez Joel Hernandez

Related

2569 How do I get a YouTube video thumbnail from the YouTube API?

0 regex to grab parts of get_video_info response from youtube

1 Permanent link to a HTML5 video source on YouTube

1 YouTube URL parameters issue. YouTube not using HTTP ranges

3 Get youtube video url form webpage source

2 Why the link get from youtube get_video_info doesn't work for download?

0 Youtube in UiWebView

0 how to Stream a youtube video in php?

2 How to get youtube stream url in form of docs.google.com

stackguides.com 2021, licensed under cc by-sa 3.0 with attribution required.

Privacy Policy | Cookies Policy | Contact

Page loaded in 0.010461 seconds

We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more