Spoofs a mobile user agent to trick YouTube Music into using the Opus audio codec if the song is not available in 256kbps AAC (High Quality), since desktop YouTube Music seems to be unable to play in Opus codec always defaults to AAC.
这些是代码更新过的版本。 显示所有版本
Update description. No code change.
Rewrote the script to spoof UserAgent instead. It seems like I was doing things the stupid way and that simply spoofing the UA achieve basically what I was trying to do with no obvious drawbacks.