Skip to content

Instantly share code, notes, and snippets.

@duey
Created April 10, 2024 19:38
Show Gist options
  • Save duey/98f724a0597b615b89edd3f6c2c6c608 to your computer and use it in GitHub Desktop.
Save duey/98f724a0597b615b89edd3f6c2c6c608 to your computer and use it in GitHub Desktop.
10/04/24 12:30:46 - INFO - root - [__init__]: Console logger time zone set to: America/Vancouver
10/04/24 12:30:46 - INFO - root - [__init__]: File logger time zone set to: America/Vancouver
10/04/24 12:30:46 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): raw.githubusercontent.com:443
10/04/24 12:30:46 - DEBUG - urllib3.connectionpool - [_make_request]: https://raw.githubusercontent.com:443 "GET /rdavydov/Twitch-Channel-Points-Miner-v2/master/TwitchChannelPointsMiner/__init__.py HTTP/1.1" 200 125
10/04/24 12:30:46 - INFO - TwitchChannelPointsMiner.TwitchChannelPointsMiner - [__init__]: Twitch Channel Points Miner v2-1.9.4 (fork by rdavydov)
10/04/24 12:30:46 - INFO - TwitchChannelPointsMiner.TwitchChannelPointsMiner - [__init__]: https://github.com/rdavydov/Twitch-Channel-Points-Miner-v2
10/04/24 12:30:46 - INFO - TwitchChannelPointsMiner.TwitchChannelPointsMiner - [run]: Start session: '06cc9ace-74f3-44de-b5aa-0fb2b7294016'
10/04/24 12:30:46 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): www.twitch.tv:443
10/04/24 12:30:46 - DEBUG - urllib3.connectionpool - [_make_request]: https://www.twitch.tv:443 "GET / HTTP/1.1" 200 None
10/04/24 12:30:46 - DEBUG - TwitchChannelPointsMiner.classes.Twitch - [update_client_version]: Error with update_client_version: no match
10/04/24 12:30:46 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): gql.twitch.tv:443
10/04/24 12:30:46 - DEBUG - urllib3.connectionpool - [_make_request]: https://gql.twitch.tv:443 "POST /gql HTTP/1.1" 200 1360
10/04/24 12:30:46 - DEBUG - TwitchChannelPointsMiner.classes.Twitch - [post_gql_request]: Data: {'operationName': 'Inventory', 'variables': {'fetchRewardCampaigns': True}, 'extensions': {'persistedQuery': {'version': 1, 'sha256Hash': '37fea486d6179047c41d0f549088a4c3a7dd60c05c70956a1490262f532dccd9'}}}, Status code: 200, Content: {"data":{"currentUser":{"id":"268076909","inventory":{"dropCampaignsInProgress":null,"gameEventDrops":[{"game":null,"id":"d4895e2c-7222-11ee-969c-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/71d86338-3619-401b-acd1-91d76f4410ba.jpeg","isConnected":true,"lastAwardedAt":"2024-02-29T23:50:29Z","name":"Built Forma","requiredAccountLink":"https://www.warframe.com/user","totalCount":7,"__typename":"UserDropReward"},{"game":null,"id":"e6c8bd11-bbbd-11ee-ae2e-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/74e7fe68-50f8-4558-8609-ca09c2c78ae2.jpeg","isConnected":true,"lastAwardedAt":"2024-01-26T19:29:26.676Z","name":"Umbra Forma BP","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"04b8d29b-e5ed-11ee-8ddb-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/bd29a1fe-b154-4297-a270-18f7c5ef5ffb.jpeg","isConnected":true,"lastAwardedAt":"2024-04-04T23:53:31.822Z","name":"Tome Mod Grab Bag","requiredAccountLink":"https://www.warframe.com/user","totalCount":4,"__typename":"UserDropReward"},{"game":null,"id":"7053b2c5-e6d3-11ee-9e32-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/f1ee4c8e-59f5-4b93-99eb-e2992e50b1eb.jpeg","isConnected":true,"lastAwardedAt":"2024-03-27T19:05:20.993Z","name":"Lazulite Toroid","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"bdca39e3-dbeb-11ee-9559-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/10f616d4-bc71-4a95-bc69-063c8b931240.jpeg","isConnected":true,"lastAwardedAt":"2024-03-07T23:21:20.435Z","name":"Exilus Weapon Adapter","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"4817ab2b-d1d6-11ee-b69b-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/1f5df5a5-98e1-47fb-b53a-4c1ca9c26482.jpeg","isConnected":true,"lastAwardedAt":"2024-02-23T00:34:38Z","name":"Forma ","requiredAccountLink":"https://www.warframe.com/user","totalCount":2,"__typename":"UserDropReward"},{"game":null,"id":"d25ef780-ed63-11ee-b722-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/3487c5c3-3137-4b4d-a473-4fd856c97c23.jpeg","isConnected":true,"lastAwardedAt":"2024-04-04T22:53:19.153Z","name":"Mother Graffiti Glyph","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"b78791c9-ed63-11ee-b5a1-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/307886f1-0dfe-410b-b291-9e1f2a75dfa8.jpeg","isConnected":true,"lastAwardedAt":"2024-04-03T20:00:29.295Z","name":"Seriglass Shard","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"9aae0bb8-e100-11ee-85f6-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/e73f6860-9239-420a-abfb-717f09ba1b04.jpeg","isConnected":true,"lastAwardedAt":"2024-03-14T22:49:06Z","name":"St Patty's Grab Bag","requiredAccountLink":"https://www.warframe.com/user","totalCount":3,"__typename":"UserDropReward"},{"game":null,"id":"6d0c9caf-c006-11ee-bb86-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/a1b67dad-ccb1-4b39-9df5-1c8351a35352.jpeg","isConnected":true,"lastAwardedAt":"2024-02-01T23:51:23.153Z","name":"Medical Debt-Bonds","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"99d8ceca-e6d3-11ee-8dee-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/677f4e9c-77f9-40d3-87e5-45b9f85496ee.jpeg","isConnected":true,"lastAwardedAt":"2024-03-27T20:05:27.908Z","name":"Little Duck Glyph","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"e4d2b603-baf0-11ee-a576-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/26a1e987-1278-4204-8a40-0528aa06b6e8.jpeg","isConnected":true,"lastAwardedAt":"2024-03-28T22:56:21.018Z","name":"Relic Pack","requiredAccountLink":"https://www.warframe.com/user","totalCount":8,"__typename":"UserDropReward"},{"game":null,"id":"7e32ef6f-c006-11ee-95e0-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/bb68263a-9a79-43be-974a-ea13ea10575a.jpeg","isConnected":true,"lastAwardedAt":"2024-01-31T20:47:23.929Z","name":"Familial Debt-Bonds","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"88b2d8de-dbeb-11ee-ac51-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/5df7080a-b224-4305-9e47-4d1f5764b9f2.jpeg","isConnected":true,"lastAwardedAt":"2024-03-06T20:45:24.493Z","name":"Tennokai Mod Grab Bag","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"},{"game":null,"id":"765ba788-c006-11ee-a068-0a58a9feac02","imageURL":"https://static-cdn.jtvnw.net/twitch-quests-assets/REWARD/e35b653d-2cd5-45e1-a63a-e65e1ed26555.jpeg","isConnected":true,"lastAwardedAt":"2024-02-01T23:21:23.547Z","name":"Advances Debt-Bonds","requiredAccountLink":"https://www.warframe.com/user","totalCount":1,"__typename":"UserDropReward"}],"completedRewardCampaigns":[],"__typename":"Inventory"},"__typename":"User"}},"extensions":{"durationMilliseconds":106,"operationName":"Inventory","requestID":"01HV4QVHG0R6BZN291BBGTB964"}}
10/04/24 12:30:46 - INFO - TwitchChannelPointsMiner.TwitchChannelPointsMiner - [run]: Loading data for 2 streamers. Please wait...
10/04/24 12:30:47 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): www.twitch.tv:443
10/04/24 12:30:47 - DEBUG - urllib3.connectionpool - [_make_request]: https://www.twitch.tv:443 "GET / HTTP/1.1" 200 None
10/04/24 12:30:47 - DEBUG - TwitchChannelPointsMiner.classes.Twitch - [update_client_version]: Error with update_client_version: no match
10/04/24 12:30:47 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): gql.twitch.tv:443
10/04/24 12:30:47 - DEBUG - urllib3.connectionpool - [_make_request]: https://gql.twitch.tv:443 "POST /gql HTTP/1.1" 200 205
10/04/24 12:30:47 - DEBUG - TwitchChannelPointsMiner.classes.Twitch - [post_gql_request]: Data: {'operationName': 'ReportMenuItem', 'extensions': {'persistedQuery': {'version': 1, 'sha256Hash': '8f3628981255345ca5e5453dfd844efffb01d6413a9931498836e6268692a30c'}}, 'variables': {'channelLogin': 'warframe'}}, Status code: 200, Content: {"data":{"requestInfo":{"countryCode":"CA","__typename":"RequestInfo"},"user":{"id":"31557216","stream":null,"__typename":"User"}},"extensions":{"durationMilliseconds":41,"operationName":"ReportMenuItem","requestID":"01HV4QVJ8NZ2MZ6AH5DBHXXXPZ"}}
10/04/24 12:30:48 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): www.twitch.tv:443
10/04/24 12:30:48 - DEBUG - urllib3.connectionpool - [_make_request]: https://www.twitch.tv:443 "GET / HTTP/1.1" 200 None
10/04/24 12:30:48 - DEBUG - TwitchChannelPointsMiner.classes.Twitch - [update_client_version]: Error with update_client_version: no match
10/04/24 12:30:48 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): gql.twitch.tv:443
10/04/24 12:30:48 - DEBUG - urllib3.connectionpool - [_make_request]: https://gql.twitch.tv:443 "POST /gql HTTP/1.1" 200 245
10/04/24 12:30:48 - DEBUG - TwitchChannelPointsMiner.classes.Twitch - [post_gql_request]: Data: {'operationName': 'ReportMenuItem', 'extensions': {'persistedQuery': {'version': 1, 'sha256Hash': '8f3628981255345ca5e5453dfd844efffb01d6413a9931498836e6268692a30c'}}, 'variables': {'channelLogin': 'warframeinternational'}}, Status code: 200, Content: {"data":{"requestInfo":{"countryCode":"CA","__typename":"RequestInfo"},"user":{"id":"145167538","stream":{"id":"43998764603","createdAt":"2024-04-10T18:58:38Z","__typename":"Stream"},"__typename":"User"}},"extensions":{"durationMilliseconds":40,"operationName":"ReportMenuItem","requestID":"01HV4QVK50QHY49S2XDXXBT2JN"}}
10/04/24 12:30:49 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): www.twitch.tv:443
10/04/24 12:30:49 - DEBUG - urllib3.connectionpool - [_make_request]: https://www.twitch.tv:443 "GET / HTTP/1.1" 200 None
10/04/24 12:30:49 - DEBUG - TwitchChannelPointsMiner.classes.Twitch - [update_client_version]: Error with update_client_version: no match
10/04/24 12:30:49 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): gql.twitch.tv:443
10/04/24 12:30:49 - DEBUG - urllib3.connectionpool - [_make_request]: https://gql.twitch.tv:443 "POST /gql HTTP/1.1" 200 1292
10/04/24 12:30:49 - DEBUG - TwitchChannelPointsMiner.classes.Twitch - [post_gql_request]: Data: {'operationName': 'ChannelPointsContext', 'extensions': {'persistedQuery': {'version': 1, 'sha256Hash': '1530a003a7d374b0380b79db0be0534f30ff46e61cffa2bc0e2468a909fbc024'}}, 'variables': {'channelLogin': 'warframe'}}, Status code: 200, Content: {"data":{"community":{"id":"31557216","displayName":"Warframe","channel":{"id":"31557216","self":{"communityPoints":{"availableClaim":null,"__typename":"CommunityPointsProperties","balance":300,"activeMultipliers":[],"canRedeemRewardsForFree":false,"lastViewedContent":[{"contentType":"AUTOMATIC_REWARD","lastViewedAt":"2021-07-14T03:38:06.187937927Z","__typename":"CommunityPointsLastViewedContentByType"},{"contentType":"CUSTOM_REWARD","lastViewedAt":"2021-07-14T03:38:06.187937927Z","__typename":"CommunityPointsLastViewedContentByType"}],"userRedemptions":[]},"__typename":"ChannelSelfEdge"},"__typename":"Channel","communityPointsSettings":{"name":null,"image":null,"__typename":"CommunityPointsChannelSettings","automaticRewards":[{"id":"31557216:SINGLE_MESSAGE_BYPASS_SUB_MODE","backgroundColor":null,"cost":null,"defaultBackgroundColor":"#9146FF","defaultCost":700,"defaultImage":{"url":"https://static-cdn.jtvnw.net/automatic-reward-images/subsonly-1.png","url2x":"https://static-cdn.jtvnw.net/automatic-reward-images/subsonly-2.png","url4x":"https://static-cdn.jtvnw.net/automatic-reward-images/subsonly-4.png","__typename":"CommunityPointsImage"},"image":null,"isEnabled":false,"isHiddenForSubs":true,"minimumCost":80,"type":"SINGLE_MESSAGE_BYPASS_SUB_MODE","updatedForIndicatorAt":null,"globallyUpdatedForIndicatorAt":"2019-09-03T21:00:00Z","__typename":"CommunityPointsAutomaticReward"},{"id":"31557216:SEND_HIGHLIGHTED_MESSAGE","backgroundColor":null,"cost":null,"defaultBackgroundColor":"#FF6905","defaultCost":640,"defaultImage":{"url":"https://static-cdn.jtvnw.net/automatic-reward-images/highlight-1.png","url2x":"https://static-cdn.jtvnw.net/automatic-reward-images/highlight-2.png","url4x":"https://static-cdn.jtvnw.net/automatic-reward-images/highlight-4.png","__typename":"CommunityPointsImage"},"image":null,"isEnabled":false,"isHiddenForSubs":false,"minimumCost":10,"type":"SEND_HIGHLIGHTED_MESSAGE","updatedForIndicatorAt":null,"globallyUpdatedForIndicatorAt":"2019-09-03T21:00:00Z","__typename":"CommunityPointsAutomaticReward"},{"id":"31557216:RANDOM_SUB_EMOTE_UNLOCK","backgroundColor":null,"cost":null,"defaultBackgroundColor":"#8205B4","defaultCost":450,"defaultImage":{"url":"https://static-cdn.jtvnw.net/automatic-reward-images/random-emote-1.png","url2x":"https://static-cdn.jtvnw.net/automatic-reward-images/random-emote-2.png","url4x":"https://static-cdn.jtvnw.net/automatic-reward-images/random-emote-4.png","__typename":"CommunityPointsImage"},"image":null,"isEnabled":false,"isHiddenForSubs":true,"minimumCost":80,"type":"RANDOM_SUB_EMOTE_UNLOCK","updatedForIndicatorAt":null,"globallyUpdatedForIndicatorAt":"2019-09-03T21:00:00Z","__typename":"CommunityPointsAutomaticReward"},{"id":"31557216:CHOSEN_SUB_EMOTE_UNLOCK","backgroundColor":null,"cost":null,"defaultBackgroundColor":"#00C8AF","defaultCost":750,"defaultImage":{"url":"https://static-cdn.jtvnw.net/automatic-reward-images/choose-emote-1.png","url2x":"https://static-cdn.jtvnw.net/automatic-reward-images/choose-emote-2.png","url4x":"https://static-cdn.jtvnw.net/automatic-reward-images/choose-emote-4.png","__typename":"CommunityPointsImage"},"image":null,"isEnabled":false,"isHiddenForSubs":true,"minimumCost":80,"type":"CHOSEN_SUB_EMOTE_UNLOCK","updatedForIndicatorAt":null,"globallyUpdatedForIndicatorAt":"2019-09-03T21:00:00Z","__typename":"CommunityPointsAutomaticReward"},{"id":"31557216:CHOSEN_MODIFIED_SUB_EMOTE_UNLOCK","backgroundColor":null,"cost":null,"defaultBackgroundColor":"#00FA05","defaultCost":1250,"defaultImage":{"url":"https://static-cdn.jtvnw.net/automatic-reward-images/modify-emote-1.png","url2x":"https://static-cdn.jtvnw.net/automatic-reward-images/modify-emote-2.png","url4x":"https://static-cdn.jtvnw.net/automatic-reward-images/modify-emote-4.png","__typename":"CommunityPointsImage"},"image":null,"isEnabled":false,"isHiddenForSubs":false,"minimumCost":80,"type":"CHOSEN_MODIFIED_SUB_EMOTE_UNLOCK","updatedForIndicatorAt":null,"globallyUpdatedForIndicatorAt":"2020-12-14T21:00:00Z","__typename":"CommunityPointsAutomaticReward"}],"customRewards":[],"goals":[],"isEnabled":false,"raidPointAmount":250,"emoteVariants":[],"earning":{"id":"Y29wb0NoYW5uZWxFYXJuaW5nU2V0dGluZ3M6MzE1NTcyMTY=","averagePointsPerHour":220,"cheerPoints":350,"claimPoints":50,"followPoints":300,"passiveWatchPoints":10,"raidPoints":250,"subscriptionGiftPoints":500,"watchStreakPoints":[{"points":300,"__typename":"CommunityPointsWatchStreakEarningSettings"},{"points":350,"__typename":"CommunityPointsWatchStreakEarningSettings"},{"points":400,"__typename":"CommunityPointsWatchStreakEarningSettings"},{"points":450,"__typename":"CommunityPointsWatchStreakEarningSettings"}],"multipliers":[{"reasonCode":"SUB_T1","factor":0.2,"__typename":"CommunityPointsMultiplier"},{"reasonCode":"SUB_T2","factor":0.4,"__typename":"CommunityPointsMultiplier"},{"reasonCode":"SUB_T3","factor":1,"__typename":"CommunityPointsMultiplier"}],"__typename":"CommunityPointsChannelEarningSettings"}}},"__typename":"User","self":{"isModerator":false,"__typename":"UserSelfConnection"}},"currentUser":{"id":"268076909","communityPoints":{"lastViewedContent":[{"contentID":"SINGLE_MESSAGE_BYPASS_SUB_MODE","contentType":"AUTOMATIC_REWARD","lastViewedAt":"2021-06-14T14:40:58.838487419Z","__typename":"CommunityPointsLastViewedContentByTypeAndID"},{"contentID":"SEND_HIGHLIGHTED_MESSAGE","contentType":"AUTOMATIC_REWARD","lastViewedAt":"2021-06-14T14:40:58.838487419Z","__typename":"CommunityPointsLastViewedContentByTypeAndID"},{"contentID":"RANDOM_SUB_EMOTE_UNLOCK","contentType":"AUTOMATIC_REWARD","lastViewedAt":"2021-06-14T14:40:58.838487419Z","__typename":"CommunityPointsLastViewedContentByTypeAndID"},{"contentID":"CHOSEN_SUB_EMOTE_UNLOCK","contentType":"AUTOMATIC_REWARD","lastViewedAt":"2021-06-14T14:40:58.838487419Z","__typename":"CommunityPointsLastViewedContentByTypeAndID"},{"contentID":"CHOSEN_MODIFIED_SUB_EMOTE_UNLOCK","contentType":"AUTOMATIC_REWARD","lastViewedAt":"2021-06-14T14:40:58.838487419Z","__typename":"CommunityPointsLastViewedContentByTypeAndID"}],"__typename":"CommunityPointsUserProperties"},"__typename":"User"}},"extensions":{"durationMilliseconds":57,"operationName":"ChannelPointsContext","requestID":"01HV4QVKTG0TQWMNWEAR9WZK1Z"}}
10/04/24 12:30:49 - DEBUG - urllib3.connectionpool - [_new_conn]: Starting new HTTPS connection (1): www.twitch.tv:443
10/04/24 12:30:49 - DEBUG - urllib3.connectionpool - [_make_request]: https://www.twitch.tv:443 "GET /warframe HTTP/1.1" 200 None
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment