Is there any way to get ONLY the url of the audio track of a live YouTube broadcast?
I'm trying with the Pafy and Youtube-dl libraries but I only get mp4 files, there are no m4a files like in the rest of the videos.
streams = video.audiostreams
for a in streams:
print(a.bitrate, a.extension, a.get_filesize())
This does not return anything.
Is there an alternative? Or simply Youtube does not provide m4a files for direct ones? And if this is the reason ... would there be a way to get it?
Any ideas?
Thank you!