Hi,
To bulk import a list of videos uploaded by a particular user in Youtube, do the following.
Open vShare/admin/import_bulk.php file and find
then replace it withCode:$yt = new Zend_Gdata_YouTube(); $query = $yt->newVideoQuery(); $query->setQuery($search_string); $query->setStartIndex($start); $query->setMaxResults($admin_listing_per_page); $queryUrl = $query->queryUrl . '&fmt=sbv'; $feed = $yt->getVideoFeed($queryUrl);
YOUTUBE_USER_NAME must be replaced with username in Youtube.Code:$yt = new Zend_Gdata_YouTube(); $feed = $yt->getUserUploads('YOUTUBE_USER_NAME');
After importing videos, you must revert the changes for default functioning of Bulk Import.
Thanks,




Reply With Quote
Bookmarks