我想得到所有的视频在一个YouTube频道。有没有办法做到这一点?可以使用分页,但我看不到任何分页(不能使用ajax)。我可以用PHP获取urls。
发布于 2011-02-07 00:38:16
请参阅Developers Guide | Videos uploaded by a specific user。
例如,下面的代码检索$userName上传的视频列表。你必须使用page through the results。
function getAndPrintUserUploads($userName)
{
$yt = new Zend_Gdata_YouTube();
$yt->setMajorProtocolVersion(2);
printVideoFeed($yt->getuserUploads($userName));
} https://stackoverflow.com/questions/4914498
复制相似问题