20 lines
895 B
Markdown
20 lines
895 B
Markdown
# skill_download
|
|
|
|
Script to download skill videos. Uses python3 and ffmpeg.
|
|
|
|
Requirements:
|
|
ffmpeg
|
|
python3
|
|
python3-wget
|
|
|
|
Video and audio are on separated so we need to get two different URLs, one for video and one for sound.
|
|
|
|
To get the URL before starting the video on the browser go to the web developper options -> inspector -> network -> media
|
|
Start the video some elements will appear. Stop the video, and look for two consecutive files starting with segment*+number*.ts with the same number and copy and open their URLs to see which one is the video and which one is the sound.
|
|
|
|
Copy and paste the URLs in the script at their given place, and make sure to replace the number after segment with '+str(v)+'.
|
|
|
|
Finally run the script and enjoy your new skill!!
|
|
|
|
Make sure that there are no video.mp4, so.mp4 or output.mp4 in the folder where you run the script, otherwise they will be deleted.
|