skill_download/README.md

20 lines
895 B
Markdown
Raw Permalink Normal View History

2020-01-09 11:31:25 +00:00
# skill_download
2020-01-09 11:47:42 +00:00
Script to download skill videos. Uses python3 and ffmpeg.
2020-01-09 13:18:05 +00:00
Requirements:
ffmpeg
python3
python3-wget
2020-01-09 11:47:42 +00:00
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.