开发者

iphone - How to extract youtube links from a html?

  1. Can anyone tell me how to extract YouTube links from a html source using objective-c?
  2. And also, how to get big preview image for a Y开发者_开发技巧ouTube link?

Thanks


you can use a regex framework like RegexKitLite or AGRegex to parse the HTML source you have anda extract the link and the image url that you need.

although, you are probably better off using the YouTube APIs and save you the headache of html parsing.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜