Closed ghost closed 1 year ago
Добавьте это перед RemoteAuthClient()
и отправьте файл bot.log после попытки авторизации:
import logging
logging.basicConfig(filename="bot.log", filemode="a", level=logging.DEBUG)
Код
data = json.loads(await ws.recv())
gg=requests.post('https://discord.com/api/v9/users/@me/remote-auth/login',json={"ticket":data["ticket"]}).json()
if "captcha_key" in gg:
rq_token = gg["captcha_rqtoken"]
solver = AioHcaptcha(gg["captcha_sitekey"], "https://discord.com/login", {"executable_path": "chromedriver.exe"})
captcha_key = await solver.solve(retry_count=5, custom_params={"rqdata": gg["captcha_rqdata"]})
gg=requests.post("https://discord.com/api/v9/users/@me/remote-auth/login", json={"ticket":data["ticket"], "captcha_key": captcha_key, "captcha_rqtoken": rq_token}).json()
DEBUG:AsyncHcaptcha:Generating motionData for solved captcha...
DEBUG:AsyncHcaptcha:motionData={'st': 1666939892899, 'v': 1, 'topLevel': {'inv': False, 'st': 1666939891885, 'sc': {'availWidth': 1920, 'availHeight': 1022, 'width': 1920, 'height': 1080, 'colorDepth': 24, 'pixelDepth': 24, 'availLeft': 0, 'availTop': 18, 'onchange': None, 'isExtended': True}, 'nv': {'vendorSub': '', 'productSub': '20030107', 'vendor': 'Google Inc.', 'maxTouchPoints': 0, 'scheduling': {}, 'userActivation': {}, 'doNotTrack': '1', 'geolocation': {}, 'connection': {}, 'pdfViewerEnabled': True, 'webkitTemporaryStorage': {}, 'webkitPersistentStorage': {}, 'hardwareConcurrency': 8, 'cookieEnabled': True, 'appCodeName': 'Mozilla', 'appName': 'Netscape', 'appVersion': '5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36', 'userAgent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/106.0.0.0 Safari/537.36', 'platform': 'Win32', 'product': 'Gecko', 'language': 'en-US', 'languages': ['en-US', 'en'], 'onLine': True, 'webdriver': False, 'bluetooth': {}, 'clipboard': {}, 'credentials': {}, 'keyboard': {}, 'managed': {}, 'mediaDevices': {}, 'storage': {}, 'serviceWorker': {}, 'virtualKeyboard': {}, 'wakeLock': {}, 'deviceMemory': 8, 'ink': {}, 'hid': {}, 'locks': {}, 'mediaCapabilities': {}, 'mediaSession': {}, 'permissions': {}, 'presentation': {}, 'serial': {}, 'usb': {}, 'windowControlsOverlay': {}, 'xr': {}, 'userAgentData': {'brands': [{'brand': 'Chromium', 'version': '106'}, {'brand': 'Google Chrome', 'version': '106'}, {'brand': 'Not;A=Brand', 'version': '99'}], 'mobile': False, 'platform': 'Windows'}, 'plugins': ['internal-pdf-viewer', 'internal-pdf-viewer', 'internal-pdf-viewer', 'internal-pdf-viewer', 'internal-pdf-viewer']}, 'dr': '', 'exec': False, 'wn': [], 'wn-mp': 0, 'xy': [], 'xy-mp': 0, 'mm': [[1609, 874, 1666939891921], [1613, 873, 1666939891944], [1616, 872, 1666939891980], [1618, 870, 1666939892001], [1620, 869, 1666939892037], [1621, 868, 1666939892064], [1622, 866, 1666939892093], [1621, 865, 1666939892130], [1619, 863, 1666939892166], [1616, 860, 1666939892201], [1611, 857, 1666939892237], [1605, 854, 1666939892259], [1597, 850, 1666939892292], [1588, 845, 1666939892315], [1576, 839, 1666939892341], [1562, 833, 1666939892372], [1546, 826, 1666939892406], [1528, 817, 1666939892433], [1507, 808, 1666939892453], [1483, 797, 1666939892475], [1456, 785, 1666939892504], [1427, 772, 1666939892541], [1394, 757, 1666939892562], [1358, 741, 1666939892599], [1319, 723, 1666939892620], [1276, 703, 1666939892651], [1230, 682, 1666939892690], [1179, 659, 1666939892714], [1125, 634, 1666939892742], [1067, 607, 1666939892764], [1004, 578, 1666939892799], [937, 547, 1666939892833], [866, 514, 1666939892866], [789, 479, 1666939892905], [709, 441, 1666939892937], [623, 400, 1666939892964], [532, 357, 1666939892995], [436, 312, 1666939893018], [334, 263, 1666939893056], [227, 212, 1666939893096]], 'mm-mp': 40, 'md': [[227, 212, 1666939893124]], 'md-mp': 1, 'mu': [[227, 212, 1666939893162]], 'mu-mp': 1}, 'session': [], 'widgetList': ['zk5e4a8qkxka'], 'widgetId': 'zk5e4a8qkxka', 'href': 'https://discord.com/login', 'prev': {'escaped': False, 'passed': False, 'expiredChallenge': False, 'expiredResponse': False}, 'dct': 1666939892899, 'mm': [[476, 215, 1666939893003], [476, 216, 1666939893037], [475, 217, 1666939893067], [476, 218, 1666939893101], [477, 220, 1666939893127], [479, 223, 1666939893165], [482, 227, 1666939893202], [487, 233, 1666939893234], [493, 241, 1666939893273], [501, 251, 1666939893307], [512, 264, 1666939893335], [524, 280, 1666939893364], [540, 300, 1666939893389], [558, 324, 1666939893416], [579, 351, 1666939893437], [579, 351, 1666939893521], [579, 351, 1666939893546], [579, 350, 1666939893584], [580, 351, 1666939893610], [581, 352, 1666939893640], [583, 356, 1666939893677], [585, 361, 1666939893702], [589, 369, 1666939893736], [594, 379, 1666939893775], [600, 392, 1666939893806], [608, 409, 1666939893844], [617, 430, 1666939893878], [628, 454, 1666939893904], [641, 483, 1666939893939], [641, 483, 1666939894017], [641, 484, 1666939894038], [642, 484, 1666939894076], [641, 483, 1666939894116], [642, 482, 1666939894139], [641, 481, 1666939894172], [641, 478, 1666939894195], [641, 475, 1666939894227], [641, 470, 1666939894265], [641, 465, 1666939894286], [641, 458, 1666939894317], [641, 450, 1666939894355], [641, 450, 1666939894453], [641, 450, 1666939894475], [641, 450, 1666939894498], [642, 450, 1666939894535], [644, 452, 1666939894555], [647, 454, 1666939894579], [652, 457, 1666939894600], [658, 462, 1666939894640], [666, 468, 1666939894677], [676, 476, 1666939894704], [689, 487, 1666939894742], [704, 499, 1666939894778], [704, 499, 1666939894870], [705, 500, 1666939894895], [706, 500, 1666939894924], [708, 500, 1666939894961], [709, 501, 1666939894983], [712, 501, 1666939895006], [716, 502, 1666939895042], [721, 504, 1666939895074], [728, 505, 1666939895104], [737, 507, 1666939895137], [747, 510, 1666939895171], [760, 513, 1666939895210], [776, 517, 1666939895233], [794, 521, 1666939895255], [815, 527, 1666939895276], [815, 527, 1666939895366], [815, 528, 1666939895390], [815, 528, 1666939895417], [816, 529, 1666939895456], [818, 531, 1666939895492], [821, 534, 1666939895522], [825, 539, 1666939895557], [831, 545, 1666939895578], [840, 554, 1666939895599], [851, 565, 1666939895638], [851, 565, 1666939895722], [847, 565, 1666939895761], [840, 563, 1666939895792], [828, 561, 1666939895818], [808, 557, 1666939895856], [777, 550, 1666939895893], [731, 539, 1666939895926], [668, 523, 1666939895961], [585, 502, 1666939895986], [479, 474, 1666939896026], [479, 474, 1666939896130], [477, 474, 1666939896157], [476, 474, 1666939896192], [478, 473, 1666939896221], [483, 472, 1666939896247], [493, 470, 1666939896280], [508, 468, 1666939896309], [530, 464, 1666939896343], [560, 460, 1666939896367], [598, 454, 1666939896394], [646, 448, 1666939896420], [705, 439, 1666939896454], [776, 429, 1666939896481], [776, 429, 1666939896590], [775, 430, 1666939896621], [775, 430, 1666939896641], [776, 430, 1666939896665], [779, 431, 1666939896688], [784, 432, 1666939896718], [791, 433, 1666939896754], [801, 435, 1666939896794], [814, 438, 1666939896822], [830, 442, 1666939896842], [850, 446, 1666939896867], [875, 452, 1666939896890], [904, 459, 1666939896927], [937, 467, 1666939896955], [976, 476, 1666939896992], [976, 476, 1666939897078], [977, 476, 1666939897115], [977, 475, 1666939897143], [977, 474, 1666939897183], [978, 472, 1666939897204], [979, 469, 1666939897231], [980, 465, 1666939897261], [982, 459, 1666939897284], [985, 452, 1666939897307], [988, 442, 1666939897341], [993, 430, 1666939897368], [998, 416, 1666939897404], [1005, 399, 1666939897429], [1005, 399, 1666939897519], [1005, 399, 1666939897551], [1005, 399, 1666939897577], [1006, 400, 1666939897614], [1007, 401, 1666939897642], [1009, 403, 1666939897675], [1012, 407, 1666939897701], [1017, 412, 1666939897726], [1022, 418, 1666939897758], [1030, 426, 1666939897795], [1039, 436, 1666939897825], [1049, 448, 1666939897856], [1062, 463, 1666939897883], [1077, 479, 1666939897912], [1077, 479, 1666939897999], [1078, 479, 1666939898031], [1078, 479, 1666939898059], [1078, 479, 1666939898097], [1078, 480, 1666939898131], [1078, 482, 1666939898159], [1078, 484, 1666939898191], [1079, 487, 1666939898223], [1080, 492, 1666939898251], [1080, 497, 1666939898284], [1082, 503, 1666939898315], [1083, 511, 1666939898346], [1085, 521, 1666939898383], [1087, 532, 1666939898405], [1089, 544, 1666939898440]], 'mm-mp': 158, 'md': [[579, 351, 1666939893458], [641, 483, 1666939893966], [641, 450, 1666939894393], [704, 499, 1666939894813], [815, 527, 1666939895306], [851, 565, 1666939895661], [479, 474, 1666939896060], [776, 429, 1666939896521], [976, 476, 1666939897019], [1005, 399, 1666939897458], [1077, 479, 1666939897934], [1089, 544, 1666939898468]], 'md-mp': 12, 'mu': [[579, 351, 1666939893496], [641, 483, 1666939893995], [641, 450, 1666939894422], [704, 499, 1666939894836], [815, 527, 1666939895328], [851, 565, 1666939895688], [479, 474, 1666939896091], [776, 429, 1666939896557], [976, 476, 1666939897044], [1005, 399, 1666939897482], [1077, 479, 1666939897974], [1089, 544, 1666939898498]], 'mu-mp': 12}
DEBUG:AsyncHcaptcha:checkcaptcha/a9b5fb07-92ff-493f-86fe-352a2803b3df/E0_eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjoiY0VIZmZxTnBJL3IxV1VCdzdkL2lRV1pVQk9xZngrU1hyNmR1QnZpeVVIKzBKR3BrQmNST3k3bmd3YUl6QlhOSjlGb0RSZVN5VUtOclNuUDhQeVdRdWJTNFRBcXB6cXRPRGhjVUhZZitzOTlJMU9Jb2w2OEN6K0ZuQjFNT1llSE5aTTh2SnRiK2c5N3pDaWVJVElFL1QxVWJKU1YyeTU0TndRN3VuYVNGd1VKb0FxNENsMWR0NG9SQVlYN091RjlZS0x6ZGZHT2huZlRYeDM5NHJ4a00yYlRKRVFjaWREZjZPZjBhZUxwenRTK2JWK2NCOFB0RVJFS0tCNFpnZjJaUFdCTGtMVzJMczlPM2t1MEdQYmd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yQllLNG16RUZJM3FySHgrQ3FBalRMS2ZFS3VwdmxEWkhUbjVSajlnNXVGZ0tuTld6NmFmZ053QzlMeGV2LzVVUWRBRVNCSHN1TWlwRDQvMFNlRUYyeHR5MitGalMrVjltbHVGT01TU2J5bzYvWGJXNUZaVDNEQmVoMVZ4TEE9PXEwOEdmYzhCcHVaMVEvay8ifQ.3AC7pMocXpfn1dMPqyRJVCJn5IONMgArlBd165u-TK0', 'expiration': 120}
DEBUG:AsyncHcaptcha:Captcha solved!
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): discord.com:443
DEBUG:urllib3.connectionpool:https://discord.com:443 "POST /api/v9/users/@me/remote-auth/login HTTP/1.1" 400 495
DEBUG:websockets.client:= connection is CLOSING
DEBUG:websockets.client:> CLOSE 1000 (OK) [2 bytes]
DEBUG:websockets.client:< CLOSE 1000 (OK) [2 bytes]
DEBUG:websockets.client:= connection is CLOSED
DEBUG:websockets.client:x closing TCP connection
Код
А что это за код и почему вы не используете существующие методы из RemoteAuthClient?
Код переписан с того, что мне скинули, но проблема возникла. Других челов не знаю, которые разбираются в этом
Так что?
Попробуйте использовать код из примеров (в README.md), также попробуйте обновить async-hcaptcha (или установить версию с гитхаба). Так же проблема может быть в том, что дискорд как-то усложняет процесс получения токена из ticket (как именно - пока не понятно)
То есть отправления запроса является верным? Потом попробую все остальное
попробуйте использовать anticaptcha-official
Можем пойти в дискорд для более простого общения? Nice🌙#1052 А так кратко: С помощью AioHcaptcha получаю ключ каптчи и отправляю в реквест, но выдает ошибку 400.