Advertising

Adsense 970x90

Library App Script Youtube Channel Manager

Library App Script Youtube Channel Manager

function onOpen() {
  var ui = SpreadsheetApp.getUi();
  var mainMenu = ui.createMenu('YT Channel Manager');
  
  var exportMenu = ui.createMenu('📤Export YT Data Default Lang')
    .addItem('📤Channel Data', 'YTChannelManager.exportChannelData')
    .addItem('📤Playlist Data', 'YTChannelManager.exportPlaylistData')
    .addItem('📤Single Video', 'YTChannelManager.exportSingleVideoData')
    .addItem('📤All Video Shorts', 'YTChannelManager.exportVideoShorts');
  
  var exportlangMenu = ui.createMenu('🎦Export YT By Lang: En, Vi, Ko, Zh...')
    .addItem('🎦Channel By Lang: En, Vi, Ko, Zh...', 'YTChannelManager.exportChannelVideosKey')
    .addItem('🎦Playlist By Lang: En, Vi, Ko, Zh...', 'YTChannelManager.exportPlaylistVideosKey')
    .addItem('🎦All Language ID Video', 'YTChannelManager.exportAllSubtitleVideo');
  
  var adddeleteMenu = ui.createMenu('🆙Add, Update, Delete Subtitle Title & Desc')
    .addItem('✚ Add or Update Subtitle Title & Desc', 'YTChannelManager.updateSubtitlesVideo')
    .addItem('🚮 Delete Subtitle Title & Desc', 'YTChannelManager.deleteLanguageKey');

  var playlistMenu = ui.createMenu('🟰Playlists')
    .addItem('🟰 List Playlists', 'YTChannelManager.listPlaylists')
    .addItem('🆙 Update Title & Desc Playlists', 'YTChannelManager.updatePlaylistsYT')
    .addItem('✚ New Playlist', 'newPlaylist')
    .addItem('✚ Add Video To Playlist', 'YTChannelManager.addVideosToPlaylist')
    .addItem('⇶ Remove Videos From Playlist', 'YTChannelManager.removeVideosFromPlaylist');

  mainMenu
    .addItem('🔄Convert Username To ChannelId', 'YTChannelManager.convertUsernameToChannelId')
    .addSubMenu(exportMenu)
    .addSubMenu(exportlangMenu)
    .addItem('🆙Update Title, Desc, Tags, Lang, Category', 'YTChannelManager.updateYouTubeVideos')
    .addSubMenu(adddeleteMenu)
    .addSubMenu(playlistMenu)
    .addItem('🟰List Video Categories', 'YTChannelManager.listVideoCategories')
    .addSeparator()
    .addItem('💡Tutorials', 'YTChannelManager.tutorials');
  
  mainMenu.addToUi();
}


Script ID:

1BOvLH4lbvm8w6BSA_5uJoUCAXpr9jNQZL0xMv8vP1axNgX4QViFlwga-


oauthScopes


- See, edit, create, and delete all your Google Sheets spreadsheets:
https://www.googleapis.com/auth/spreadsheets
- Display and run third-party web content in prompts and sidebars inside Google applications:
https://www.googleapis.com/auth/script.container.ui
- Connect to an external service:
https://www.googleapis.com/auth/script.external_request
- See your primary Google Account email address:
https://www.googleapis.com/auth/userinfo.email
- Manage your YouTube account:
https://www.googleapis.com/auth/youtube

Tags:
 
Loading...
UP
Copyright © 2017 Thủ thuật Blog - mẹo vặt máy tính