download video from youtube
void download_video(string url, int start, int end) { curl(url); // download video from youtube if (start != 0) { cut_start(start); } if (end != 0) { cut_end(end); } } download_video("https://www.youtube.com/watch?v=zO1wMd5r5QQ", 0, 0);