const ytdl = require('ytdl-core');
const Agent = require('https-proxy-agent');
const proxy = "https://" + [[RANDOM_PROXY]];
const agent = new Agent(proxy);
let info = await ytdl.getBasicInfo([[VIDEO_ID]]);
[[RESULT_FROM_PARSER]] = info;
In [[RANDOM_PROXY]] there are https proxies of the format: user:pass:ip:port
In [[VIDEO_ID] contains video IDs
I use the latest version of ytdl
Help me please( I need to get basic metadata
My code:
In [[RANDOM_PROXY]] there are https proxies of the format: user:pass:ip:port In [[VIDEO_ID] contains video IDs I use the latest version of ytdl Help me please( I need to get basic metadata