Open Trenza1ore opened 3 years ago
Fixed it.
for i in results:
this_link = results[i]
if this_link[-4:].lower() == "m3u8":
results[i] = this_link[:-15] + "mp4"
I have added it to my fork. But my codes are not so efficient (I just needed the tool for myself so didn't think twice before writing any line, just added features that I need like choosing which folders to download or seeing what's inside a folder) so I didn't open a pull request.
A 174 byte mp4 file will be downloaded instead. An example is attached below.
https://user-images.githubusercontent.com/25863274/119910798-81435e00-bf8a-11eb-9a52-2dd12cfc26a5.mp4