比如2014苹果秋季发布会中文视频:iPad Air 2 1017 这个链接评论内容,本以为解析源代码的标签就可以,但是源代码里没有找到对应的HTML元素,用file_get_contents或curl直接404,有什么方法可以获取?
file_get_contents
curl
闭关修行中......
http://comments.youku.com/comments/~ajax/vpcommentContent.html?__ap=%7B%22videoid%22:%22201269103%22,%22sid%22:%22720101079%22,%22page%22:1,%22commentSid%22:%22%22,%22showid%22:%220%22%7D&__ai=&__callback=displayComments
http://comments.youku.com/comments/~ajax/vpcommentContent.html?__ap=%7B%22videoid%22:%22201269103%22,%22sid%22:%22720101079%22,%22page%22:1,%22commentSid%22:%22%22,%22showid%22:%220%22%7D&__ai=&__callback=displayComments