The videos I am trying to download come with video1 as a name. How to fix that?
You can rename the files only after the download is finished. The video1 filename is generated by the server because it has been configured to do so. You can change the filename after the download is complete.