dudik / twitch-m3u8

Get the stream URL of a Twitch livestream or past broadcast (VOD).
https://www.npmjs.com/package/twitch-m3u8
MIT License
99 stars 18 forks source link

Twitch Ad blocker #11

Open lastraum opened 3 years ago

lastraum commented 3 years ago

I have received this error in the past and it used to go away and the stream would start. Now, it counts down to 5 seconds and then freezes...any clue why?

Screen Shot 2021-03-27 at 6 03 25 PM

dudik commented 3 years ago

I just tested the package and it seems to be working fine. Could you please tell me what website you are using? I also don't recognize the URL in the screenshot.

colbyfayock commented 3 years ago

I noticed the same thing, i was just trying to test it on a random twitch stream to get a script working. my error code at the bottom (Assuming its an error code) was 26

venhance-2021-05-22T04:20:35 300Z

can't tell if it's some kind of rate limiting or if it actually blocks for that stream

i tried a different channel and i was able to get screengrabs of the new one

i suspect it doesnt actually have anything to do with this library though? still curious how to avoid

tominal commented 2 years ago

i'm no expert in m3u8, but that is a way for twitch to block packages like this.

that number at the bottom right is the timer until it would go away if you were streaming the m3u8 playlist. i ran this script a couple times on a livestream and finally got the same result.

for the very specific project i'm playing with, a solution would be to delay it 30 seconds to bypass this behavior, but i have no idea how to add an "offset" with this package to trick twitch into thinking i'm waiting the 30 seconds.

Zero3K commented 2 years ago

Tardsplaya doesn't have this issue.