I am using Wireshark by connecting my Android TV device to WiFi network shared from my laptop so I can sniff Android TV traffic but it's kinda complicated method and takes a lot of time, or maybe there is easier way to do it in Wireshark? I am opening Conversations and then I am checking highest packet result per channel and then closing all results, starting sniffing again, opening channel then finding streaming link of that channel, then all over again for new channel, really complicated.
And the worst thing is when play tokens changes, I need faster method to pull out like 100+ channels very fast.
Btw, I watch those channels in TiviMate, like it more than this IPTV app from which I sniff channel urls.
There is an app called "HttpCanary" which creates a VPN and monitors all the traffic passing through the interface. This should work for what you're trying to do.