Closed zarar2312 closed 1 day ago
Please use English
The code above should not rely on a bot setup; instead, it should use headers that closely mimic or match the machine's information where the self-account is running. Some sites require validation when using .m3u8
stream URLs. A method needs to be created that fundamentally resolves this issue by handling such validations seamlessly.
That is out of scope for this library. All this library does is take an AV stream and push it to Discord, fetching the stream itself is entirely up to you. We can't know what validation methods and anti-bot measures are being used by a website, so it's impossible to have a method that will work for all websites.
At least he'll stay on the sidelines
The code above should not rely on a bot setup; instead, it should use headers that closely mimic or match the machine's information where the self-account is running. Some sites require validation when using
.m3u8
stream URLs. A method needs to be created that fundamentally resolves this issue by handling such validations seamlessly.
You can override the headers by passing your own to the method.
Benzer yayın url siteleri doğrulama istiyor. Güncel playVideo Fonksiyonun güncellenmesi gerekiyor.
Yukarıda ki kod tarzı bot olmadığını, self hesabın çalıştığı makinenin bilgilerine yakın yada aynısını içerecek bir headers gerekiyor. .m3u8 tarzı yayın urlerini kullanırken bazı siteler doğrulama istiyor. Yani bu sorunu kökünden çözecek bir method yapılması gerekiyor.
Örnek;