How can I use proxy?
chrisr11 opened this issue · 1 comments
chrisr11 commented
Hi, can you add an example that shows how to use ytpl with proxy? I tried doing it the same way as node-ytdl-core but it didn't work.
TimeForANinja commented
instead of a requestOptions
parameter you just pass it extending the options:
ytpl('id', {agent});
is on the to-be-changed list for v2 thou 😉