-
Notifications
You must be signed in to change notification settings - Fork 88
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How can I use this on a folder of videos? #230
Comments
Goes to youtube and returns this:
|
The error message you link to is very clear about what the issue is: "Daily upload limit reached". Have you already uploaded a large amount of videos the day you had this issue? |
right now i am verified, have not reached the daily upload limit, and still receive the abort error. It just goes to either the uplaod screen or the main youtube page and just either times out or aborts itself. currently goes to code: const upload = require('youtube-videos-uploader').upload;
const puppeteer = require('puppeteer-extra');
const StealthPlugin = require('puppeteer-extra-plugin-stealth');
puppeteer.use(StealthPlugin());
const credentials = { email: '████████████', pass: '██████████████', recoveryemail: 'Your Recovery Email' }
const video1 = { path: '9A6BCC0.mp4', title: '9A6BCC0.mp4', description: '' }
// Extra options like tags, thumbnail, language, playlist etc
// const video2 = { path: 'video2.mp4', title: 'title 2', description: 'description 2', thumbnail:'thumbnail.png', language: 'english', tags: ['video', 'github'], playlist: 'playlist name', channelName: 'Channel Name', onSuccess:onVideoUploadSuccess, skipProcessingWait: true, onProgress: (progress) => { console.log('progress', progress) }, uploadAsDraft: false, isAgeRestriction: false, isNotForKid: false, publishType: 'PUBLIC', isChannelMonetized: false }
// Returns uploaded video links in array
upload (credentials, [video1]).then(console.log)
// OR
// This package uses Puppeteer, you can also pass Puppeteer launch configuration
upload (credentials, [video1], {headless:false}).then(console.log)
// Refer Puppeteer documentation for more launch configurations like proxy etc
// https://pptr.dev/#?product=Puppeteer&version=main&show=api-puppeteerlaunchoptions that video is in the same directory as the one this script is in/is running from. |
What is the size and length of the video. Youtube has restriction for those as well. |
many other times it can't even get to that page, just launches the main page
|
this is my current code but it throws error:
The text was updated successfully, but these errors were encountered: