TimeForANinja/node-ytpl

move request options to requestOptions parameter

TimeForANinja opened this issue · 0 comments

instead of sth like

ytpl('xxxx', { agent: xxx });

use sth like this:

ytpl('xxxx', { requestOptions: { agent: xxx }});

to comply with ytdl-core