aragroth / vk_messages Goto Github PK
View Code? Open in Web Editor NEWCustom library to pass messages API restriction
License: MIT License
Custom library to pass messages API restriction
License: MIT License
В душе не *бу что происходит, но последнюю неделю постоянно сыпется ошибка
"vk_messages.vk_messages.Exception_MessagesAPI: Rate limit reached"
Вроде она из-за слишком большого количества запросов, но я попробовал отправить что-то на другом аккаунте, для которого АПИ не использую, и всё равно (
По IP что ли бан 0_0?
Да и насколько знаю, есть лимиты для каждого метода на вызов в сутки, а тут в любом случае вылетает последнюю неделю...
Example:
from vk_messages import MessagesAPI
from vk_messages.utils import get_random
login, password = "X", "Y"
peer_id = "1"
messages = MessagesAPI(login=login, password=password, two_factor=False)
messages.method('messages.send', user_id=peer_id, message='Hello', random_id=get_random())
Out:
'raise Exception_MessagesAPI(json.loads(response_json[1][0])['error']['error_msg'],
vk_messages.vk_messages.Exception_MessagesAPI: Rate limit reached'
Помогите пожалуйста разобраться, мб кто-то сталкивался?
Простите за беспокойство. Моя проблема - больше не проблема
Возможно ли подключение к UserLongPoll при помощи вашего модуля?
Можно ли авторизоваться по токену? Если нет, то это возможно реализовать?
Спасибо вам большое за данный открытый проект! :) Возникла такая проблема, нужно принимать сообщения в реальном времени, и мгновенно на них отвечать, а также принимать сообщения свои и чужие в реальном времени. Возможно ли такое осуществить с помощью вашего проекта? Заранее спасибо
Порой возникает ошибка:
File "/usr/lib/python3.8/http/client.py", line 276, in _read_status
raise RemoteDisconnected("Remote end closed connection without"
urllib3.exceptions.ProtocolError: ('Connection aborted.',
RemoteDisconnected('Remote end closed connection without response'))
Скорее всего связано с тем, что нет отправления headers браузера
В pip видимо до сих пор ANSI:
self.password = str(password.encode('ANSI')).replace('\\x', '%')[2:-1]
LookupError: unknown encoding: ANSI
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.