Anonymous 05/12/2021 (Wed) 23:56:25 No.60 del
>>57
>>59
Why re-invent the wheel?
youtube-dl can parse and download from iwara.
If you want to use wget to download then you can use youtube-dl with --get-url flag and pass it to wget.
But if you want to make your own extractor, then you can look up at the extractor and make your own
https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/iwara.py
I'm not sure since I know nothing about python, but it seems to get the video url from iwara API, using JSON.
I think you can parse JSON with jq package.