Downloads the video in the quality that you're able to view at. Does NOT allow you to download at a higher quality if you don't have premium
Option to extract audio only
Made this cos the nicovideo downloaders online all seem very sus
- play the video you want to download
- F12 and go to the network tab
- there'll be a GET request of xhr type
- copy the url and paste it into the URL variable
- replace the current piece number with {} e.g. /7.ts? -> /{}.ts?
- skip to the end of the video to find out how many pieces there are in total and put it in the PIECE variable
- change the DIR variable to wherever you want the output files to be
If you want the video, skip the extractAudio()
step and use combine(".ts")
make it so that you're able to download by just using the link to the video