You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 26, 2020. It is now read-only.
Hi,
Maybe it's becasue Google has done anything with it's api, but this package doesn't work anymore.
For instance:
`const YoutubeChannel = require('youtube-channel-video-fetcher');
if (process.argv.length < 3) return console.warn('Missing channel argument !');
const ytc = new YoutubeChannel(process.argv[2]);
(async () => {
try {
let continuation = null;
let videos = [];
do {
const videoPage = await ytc.getVideos(continuation);
continuation = videoPage.continuation;
videos = videos.concat(videoPage.videos);
} while (continuation);
And I pass a youtube channel node video-fetcher.js UCnUYZLuoy1rq1aVMwx4aTzw > videos.json
And it catch the followgin error: Cathc an error: Error: Something goes wrong :-( at YoutubeChannel.getVideos (/home/rgil/Documents/feina/code-labs-general/cdbcn/node_modules/youtube-channel-video-fetcher/src/YoutubeChannel.js:98:19)
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
Maybe it's becasue Google has done anything with it's api, but this package doesn't work anymore.
For instance:
`const YoutubeChannel = require('youtube-channel-video-fetcher');
if (process.argv.length < 3) return console.warn('Missing channel argument !');
const ytc = new YoutubeChannel(process.argv[2]);
(async () => {
try {
let continuation = null;
let videos = [];
do {
const videoPage = await ytc.getVideos(continuation);
continuation = videoPage.continuation;
videos = videos.concat(videoPage.videos);
} while (continuation);
} catch (e) {
console.log('Cathc an error: ', e);
}
})();`
And I pass a youtube channel
node video-fetcher.js UCnUYZLuoy1rq1aVMwx4aTzw > videos.json
And it catch the followgin error:
Cathc an error: Error: Something goes wrong :-( at YoutubeChannel.getVideos (/home/rgil/Documents/feina/code-labs-general/cdbcn/node_modules/youtube-channel-video-fetcher/src/YoutubeChannel.js:98:19)
The text was updated successfully, but these errors were encountered: