vinelessUserAgent-Switcher and set your user agent to the latest windows+edge stringGet-cookies.txt-LOCALLY and export your beyond live cookiesvineless, locate the page url in the keys section and click + to expand the entrypip install requests
beyondlive.py with the following optionspython beyondlive.py --mpd <url> --key <key> --id <id> --cookies <cookies_file>
at this point you should have all the segments downloaded, split up into a large number of directories. these segments now have to be concatenated and merged to become a playable file.
mkdir vid aud
cp beyondlive_*_001/0_*/_init_dec.mp4 vid
cp beyondlive_*_001/1_*/_init_dec.mp4 aud
find . -type d -name '0_*' | sort | while read -r f; do cp --update=none "$f"/*.m4s vid; done
find . -type d -name '1_*' | sort | while read -r f; do cp --update=none "$f"/*.m4s aud; done
cat vid/*.m4s >> vid/_init_dec.mp4
cat aud/*.m4s >> aud/_init_dec.mp4
ffmpeg -i vid/_init_dec.mp4 -i aud/_init_dec.mp4 -c copy merge.mp4
windows users will have to use the powershell equivalents of the above commands in order to post process the segments.
mkdir vid aud
Get-ChildItem beyondlive_*_001/0_*/_init_dec.mp4 | Copy-Item -Destination vid
Get-ChildItem beyondlive_*_001/1_*/_init_dec.mp4 | Copy-Item -Destination aud
Get-ChildItem -Recurse -Directory -Filter '0_*' | Sort-Object Name | ForEach-Object { Get-ChildItem -Path $_.FullName -Filter '*.m4s' } | Copy-Item -Destination vid -ErrorAction SilentlyContinue
Get-ChildItem -Recurse -Directory -Filter '1_*' | Sort-Object Name | ForEach-Object { Get-ChildItem -Path $_.FullName -Filter '*.m4s' } | Copy-Item -Destination aud -ErrorAction SilentlyContinue
Get-ChildItem vid/*.m4s | Sort-Object Name | ForEach-Object { [System.IO.File]::AppendAllBytes('vid/_init_dec.mp4', [System.IO.File]::ReadAllBytes($_.FullName)) }
Get-ChildItem aud/*.m4s | Sort-Object Name | ForEach-Object { [System.IO.File]::AppendAllBytes('aud/_init_dec.mp4', [System.IO.File]::ReadAllBytes($_.FullName)) }
ffmpeg -i vid/_init_dec.mp4 -i aud/_init_dec.mp4 -c copy merge.mp4
note: I don't use windows so these commands are currently untested.
although subtitles will be downloaded and segments can be merged with the same method used for audio and video, I have not yet found a reliable way of converting them to a standard format such as srt.