cloned-doy / whatsfly

WhatsFly : Just try and go fly. WhatsApp web wrapper in Python. No selenium nor gecko web driver needed.
https://pypi.org/project/whatsfly
MIT License
28 stars 11 forks source link

example code not work, and make session crashed for unknown reason on google colab #8

Open sugizo opened 7 months ago

sugizo commented 7 months ago

info

steps

pip install -U whatsfly
!wget -c 'https://i.ytimg.com/vi/vEYsdh6uiS4/maxresdefault.jpg'
from whatsfly import WhatsApp
chat = WhatsApp()
# send mesage
chat.sendMessage(phone = "6283139750000", message = "oi")
# send mesage
chat.sendImage(phone = "6283139750000", image_path = "maxresdefault.jpg", caption = "oi")

result not work, and make session crashed for unknown reason on google colab

best regards

cloned-doy commented 7 months ago

Thank you for submitting the report. Could you kindly provide the console logs as well?

sugizo commented 7 months ago

image

best regards

Labfox commented 4 months ago

Probably an error with whatsmeow

Labfox commented 4 months ago

Also you should chat.connect after whatsapp instantiation