Skip to content

Commit

Permalink
use to_login instead of to_name. Ref for: #68 and #issuecomment-77851…
Browse files Browse the repository at this point in the history
…8970
  • Loading branch information
Tkd-Alex committed Feb 13, 2021
1 parent c0134ed commit 386cbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TwitchChannelPointsMiner/classes/Twitch.py
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ def get_followers(self, first=100):

json_response = self.__do_helix_request(query)
pagination = json_response["pagination"]
followers += [fw["to_name"].lower() for fw in json_response["data"]]
followers += [fw["to_login"].lower() for fw in json_response["data"]]
time.sleep(random.uniform(0.3, 0.7))

if pagination == {}:
Expand Down

0 comments on commit 386cbd5

Please sign in to comment.