rdavydov / Twitch-Channel-Points-Miner-v2

A simple script that will watch a stream for you and earn the channel points.
GNU General Public License v3.0
1.13k stars 334 forks source link

Drops time not increasing #307

Open nrossini-github opened 1 year ago

nrossini-github commented 1 year ago

Describe the bug

In the last month the bot stopped claiming drops and increasing drop times. I did not change the "run.py" file (I attached an anonymous version) from 1.7.x to 1.8.x. Maybe twitch api change? I know about the 2 streamer limit but i noticed that the bot follow the rule all the times

PS: last working drop claim from bot is 2 months old

Steps to reproduce

  1. Docker
  2. Use my run.py
  3. No drops from streamers

Expected behavior

Old versions got drops with my run.py

Operating system

DietPi v8.19.1

Python version

3.11.1 (?)

Miner version

1.8.3

Other relevant software versions

Portainer 2.15.1

Logs

03/07/23 18:39:51 - INFO - [init]: Console logger time zone set to: Europe/Rome 03/07/23 18:39:51 - INFO - [init]: File logger time zone set to: Europe/Rome 03/07/23 18:39:51 - INFO - [init]: Twitch Channel Points Miner v2-1.8.3 (fork by rdavydov) 03/07/23 18:39:51 - INFO - [init]: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2 03/07/23 18:39:51 - INFO - [run]: πŸ’£ Start session: '3a3b6721-2c84-4539-b05f-6b43b613fa65' 03/07/23 18:39:52 - INFO - [run]: πŸ€“ Loading data for 8 streamers. Please wait... 03/07/23 18:40:13 - INFO - [set_offline]: 😴 Streamer(username=rocketleague, channel_id=57781936, channel_points=71.87k) is Offline! 03/07/23 18:40:15 - INFO - [set_offline]: 😴 Streamer(username=rainbow6, channel_id=65171890, channel_points=61.25k) is Offline! 03/07/23 18:40:16 - INFO - [set_offline]: 😴 Streamer(username=fextralife, channel_id=156037856, channel_points=16.81k) is Offline! 03/07/23 18:40:18 - INFO - [set_offline]: 😴 Streamer(username=beardageddon, channel_id=74488574, channel_points=11.47k) is Offline! 03/07/23 18:40:20 - INFO - [set_offline]: 😴 Streamer(username=rocketleagueoce, channel_id=730943654, channel_points=9.61k) is Offline! 03/07/23 18:40:22 - INFO - [set_offline]: 😴 Streamer(username=rocketstreetlive, channel_id=116000787, channel_points=31.08k) is Offline! 03/07/23 18:40:23 - INFO - [set_offline]: 😴 Streamer(username=unirocketeers, channel_id=437058320, channel_points=18.35k) is Offline! 03/07/23 18:40:25 - INFO - [run]: πŸ’¬ Join IRC Chat: admiralbahroo 03/07/23 18:40:25 - INFO - [set_online]: πŸ₯³ Streamer(username=admiralbahroo, channel_id=40972890, channel_points=114.12k) is Online! 03/07/23 19:45:25 - INFO - [stop]: πŸ’¬ Leave IRC Chat: admiralbahroo 03/07/23 19:45:25 - INFO - [set_offline]: 😴 Streamer(username=admiralbahroo, channel_id=40972890, channel_points=114.12k) is Offline! 04/07/23 02:15:54 - INFO - [run]: πŸ’¬ Join IRC Chat: fextralife 04/07/23 02:15:54 - INFO - [set_online]: πŸ₯³ Streamer(username=fextralife, channel_id=156037856, channel_points=16.81k) is Online! 04/07/23 06:01:42 - INFO - [stop]: πŸ’¬ Leave IRC Chat: fextralife 04/07/23 06:01:42 - INFO - [set_offline]: 😴 Streamer(username=fextralife, channel_id=156037856, channel_points=16.81k) is Offline! 04/07/23 10:13:52 - INFO - [run]: πŸ’¬ Join IRC Chat: fextralife 04/07/23 10:13:52 - INFO - [set_online]: πŸ₯³ Streamer(username=fextralife, channel_id=156037856, channel_points=16.81k) is Online! 04/07/23 11:38:52 - INFO - [run]: πŸ’¬ Join IRC Chat: beardageddon 04/07/23 11:38:52 - INFO - [set_online]: πŸ₯³ Streamer(username=beardageddon, channel_id=74488574, channel_points=11.47k) is Online! 04/07/23 14:12:43 - INFO - [stop]: πŸ’¬ Leave IRC Chat: fextralife 04/07/23 14:12:43 - INFO - [set_offline]: 😴 Streamer(username=fextralife, channel_id=156037856, channel_points=16.81k) is Offline! 04/07/23 14:58:01 - INFO - [stop]: πŸ’¬ Leave IRC Chat: beardageddon 04/07/23 14:58:01 - INFO - [set_offline]: 😴 Streamer(username=beardageddon, channel_id=74488574, channel_points=11.47k) is Offline! 04/07/23 17:08:23 - INFO - [run]: πŸ’¬ Join IRC Chat: admiralbahroo 04/07/23 17:08:23 - INFO - [set_online]: πŸ₯³ Streamer(username=admiralbahroo, channel_id=40972890, channel_points=114.12k) is Online!

Additional context

run_anon.py.txt

rdavydov commented 1 year ago

You've only included the console output, but not DEBUG logs. Can't investigate the issue without them.

nrossini-github commented 1 year ago

Oopsie, let me fix that real quick. console_level=logging.INFO, to console_level=logging.DEBUG, correct?

How much log time do you need?

EDIT: attached almost 20 minutes log

this_file _had_twitch_username_as_filename.log

rdavydov commented 1 year ago

Working on the fix in #284