mirror of
https://github.com/rangermix/TwitchDropsMiner.git
synced 2026-05-26 07:08:04 +00:00
fd030e33f640f93dea13ccd05875d1f1d86099cb
Twitch Drops Miner
This application allows you to AFK mine timed Twitch drops, without having to worry about switching channels when the one you were watching goes offline, or even receiving the stream data itself. This helps both you and Twitch save on bandwidth and hassle. Everybody wins!
Features:
- Stream-less drop mining - save on bandwidth.
- Sharded websocket connection, allowing for tracking up to
8*50-2=398channels at the same time. - Stream tags and drop campaign validation, so you don't end up watching a stream that can't earn you the drop.
- Channel stream switching, when the one you were currently watching goes offline.
- Cookie saving between sessions, so you don't need to login every time.
- Game switching once there's no more drops available for the selected game.
- Mining is stopped automatically when the last available drop has been mined.
Not managed / TODO / manual:
- Adding additional drop campaigns from other games to your inventory (requires you to do account linking yourself)
Usage:
- Download the lastest release - it's recommended to keep it in the folder it comes with.
- Run it and login into your Twitch using your username and password, and a 2FA key if you have one setup.
- After successful login, the app should fetch a list of all available live channels and start mining right away - select a different game or a different channel as needed.
- Persistent cookies will be stored in the
cookies.jarfile, from which the authorization information will be restored on each subsequent run.
Notes:
- Make sure to keep your cookies file safe, as the authorization information it stores can give another person access to your Twitch account.
- Successfully logging into your Twitch account in the application, may cause Twitch to send you a "New Login" notification email. This is normal - you can verify that it comes from your own IP address. The application uses Chrome's user agent, so the detected browser during the login should signify that as well.
- The time remaining timer always countdowns a single minute and then stops - it is then restarted only after the application redetermines the remaining time. This "redetermination" can happen as early as at 10 seconds in a minute remaining, and as late as 20 seconds after the timer reaches zero (especially when finishing mining a drop), but is generally only an approximation and does not represent nor affect actual mining speed. The time variations are due to Twitch sometimes not reporting drop progress at all, or reporting progress for the wrong drop - these cases have all been accounted for in the application.
Troubleshooting:
"No active campaigns to mine drops for."
- Check your inventory page for in-progress campaigns.
- If there's none, use the campaigns page to link your account to the campaign's game of choice.
- If your account is linked but the inventory page still doesn't include the campaign, go back to the campaigns page, expand the game of choice's campaign, and in the "How to Earn the Drop" section, click on "Go to a participating live channel" (or select one of the channels it lists) and make sure to watch the stream for at least one minute - this will activate the campaign. You can verify the campaign's activation on the inventory page.
- If there are any in-progress campaigns, make sure that they're started and not expired. You can check when a campaign starts by hovering over the very first drop in the campaign.
Languages
Python
69.1%
JavaScript
20%
CSS
6.6%
HTML
3.9%
Dockerfile
0.4%