How to use a shell script to download online videos from a web site running with M3u8