You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
Technical background question: Does switching up the client version change anything in terms of communication with Twitch backend? Just wondering about this what the fuck moment ;-)
Since all of these need to access Twitch features in a different way, Twitch decided to use different Client IDs for each of those. It's a simple string of characters, that identifies the client to Twitch as of particular type. Besides that, the main URL is different, as shown above.
"(KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36"
),
)
When Twitch blocks something on one client, they usually don't do so on the other client. We can juggle between them to get around Twitch messing up the miner's access.
25ead72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Technical background question: Does switching up the client version change anything in terms of communication with Twitch backend? Just wondering about this what the fuck moment ;-)
25ead72
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Twitch has several clients, that can access the site. These include:
Since all of these need to access Twitch features in a different way, Twitch decided to use different Client IDs for each of those. It's a simple string of characters, that identifies the client to Twitch as of particular type. Besides that, the main URL is different, as shown above.
Here are all of the clients defined:
TwitchDropsMiner/constants.py
Lines 153 to 213 in f705cc1
When Twitch blocks something on one client, they usually don't do so on the other client. We can juggle between them to get around Twitch messing up the miner's access.