move request options to requestOptions parameter
TimeForANinja opened this issue · 0 comments
TimeForANinja commented
instead of sth like
ytpl('xxxx', { agent: xxx });
use sth like this:
ytpl('xxxx', { requestOptions: { agent: xxx }});
to comply with ytdl-core