UNPKG

node-apiless-youtube-upload-nc

Version:

Upload videos to Youtube in Node.js without any Youtube API dependency by using Selenium.

16 lines (15 loc) 955 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.HAOKAN_PRODUCT = exports.HAOKAN_UPLOAD = exports.HAOKAN = exports.BAIDU_MY = exports.SELECT_ACCOUNT_YOUTUBE = exports.YOUTUBE_STUDIO = exports.YOUTUBE = exports.GOOGLE = exports.LOADER = void 0; exports.LOADER = 'https://www.portofastoria.com/pleasewait.htm'; // Domains must end in a slash, so they match exactly what driver.getCurrentUrl() returns //for youtube exports.GOOGLE = 'https://www.google.com/'; exports.YOUTUBE = 'https://www.youtube.com/'; exports.YOUTUBE_STUDIO = 'https://studio.youtube.com/'; exports.SELECT_ACCOUNT_YOUTUBE = 'https://www.youtube.com/signin?action_prompt_identity=true'; //for haokan exports.BAIDU_MY = 'https://www.baidu.com/my/index'; exports.HAOKAN = 'https://haokan.baidu.com/'; exports.HAOKAN_UPLOAD = 'https://dream.haokan.com/author/upload'; exports.HAOKAN_PRODUCT = 'https://dream.haokan.com/author/production';