All Projects → Tithibots → tithiwa

Tithibots / tithiwa

Licence: MIT license
Automate Web WhatsApp with selenium in python.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to tithiwa

python-automated-bulk-whatsapp-messages
It is a python script to send automated bulk WhatsApp messages to multiple recipients from an excel sheet at once.
Stars: ✭ 56 (+229.41%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot, web-whatsapp, python-automation
whatsapp-http-api
WhatsApp HTTP API that you can configure in a click!
Stars: ✭ 229 (+1247.06%)
Mutual labels:  whatsapp, python-bot, whatsapp-web, whatsapp-bot, whatsapp-api
Whatsapp Web.js
A WhatsApp client library for NodeJS that connects through the WhatsApp Web browser app
Stars: ✭ 4,103 (+24035.29%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot, whatsapp-api
wppconnect-server
Wppconnect Server is a ready-to-use API, just download, install, and start using, simple as that.
Stars: ✭ 290 (+1605.88%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot, whatsapp-api
wappdriver
Wondering how to send WhatsApp messages using Python using only 3 lines of code? You have come to the right place!
Stars: ✭ 40 (+135.29%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot
PedeWhats
Projeto "Pede Whats", para solicitação de diversos tipos de comidas através do Whatsapp diretamente para o restaurante!
Stars: ✭ 18 (+5.88%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-api
Whatsapp-Bot
Web.whatsapp.com bot made with selenium
Stars: ✭ 39 (+129.41%)
Mutual labels:  selenium, whatsapp, whatsapp-bot
Venom
Venom is the most complete javascript library for Whatsapp, 100% Open Source.
Stars: ✭ 3,457 (+20235.29%)
Mutual labels:  whatsapp, whatsapp-bot, whatsapp-api
WaWebSessionHandler
(DISCONTINUED) Save WhatsApp Web Sessions as files and open them everywhere!
Stars: ✭ 27 (+58.82%)
Mutual labels:  selenium, whatsapp, whatsapp-web
superchats
SuperChats is a premium library with unique features that control Whatsapp functions. With Superchats you can build service bots, multiservice chats or any system that uses whatsapp
Stars: ✭ 100 (+488.24%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-api
whatabomb
A whatsapp bombing GUI Script
Stars: ✭ 84 (+394.12%)
Mutual labels:  selenium, whatsapp, whatsapp-web
WhatsAppBulkMessenger
This tools sends WhatsApp messages and invites directly to people on WhatsApp itself, without saving their contacts 🌠
Stars: ✭ 73 (+329.41%)
Mutual labels:  whatsapp, whatsapp-api, selenium-python
waio
Is a pretty simple and fully asynchronous framework for WhatsApp Business API written in Python 3.7 with asyncio and aiohttp.
Stars: ✭ 18 (+5.88%)
Mutual labels:  whatsapp, whatsapp-bot, whatsapp-api
whatsapp-bot
Piyobot adalah whatsapp bot pintar
Stars: ✭ 124 (+629.41%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot
whatsapp-bot
This is a Node.js console app containing Whatsapp handler using reactive methods to response messages as chatbot. Simple but useful project to start developing a complex NON-OFFICIAL Whatsapp chatbots.
Stars: ✭ 33 (+94.12%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot
whatsapp-api-client
This library helps you easily create a javascript application with Whatsapp support
Stars: ✭ 39 (+129.41%)
Mutual labels:  whatsapp, whatsapp-bot, whatsapp-api
WhatsappWeb4j
Standalone fully-featured Whatsapp Multi Device Web API for Java and Kotlin
Stars: ✭ 198 (+1064.71%)
Mutual labels:  whatsapp-web, whatsapp-bot, whatsapp-api
whatsapp-bot
whatsapp bot build with nodejs
Stars: ✭ 62 (+264.71%)
Mutual labels:  whatsapp, whatsapp-web, whatsapp-bot
whatsapp-bot
Made with Python and Selenium, can be used to send multiple messages and send messages as characters made of emojis
Stars: ✭ 34 (+100%)
Mutual labels:  selenium, whatsapp, whatsapp-bot
automato
🎉🎉 ( v2 ) Web Application to automate sending Whatsapp, SMS & Email* campaigns
Stars: ✭ 92 (+441.18%)
Mutual labels:  whatsapp-web, whatsapp-bot, selenium-python

logo

tithiwa - Web WhatsApp bot

Automate Web WhatsApp with selenium.

Check Headless tithiwa challenge

Full explained Videos on that project are coming soon. Stay tune with our youtube channel Noobie Techs

Table of contents

Contribution and creativity points

Selenium automation creativity points

  1. Debugging Example
    We can create breakpoints to pause execution at any time then we can try to run some python code in the console to find a way to do something. That helps to develop efficiently.
  2. CTRL + Left mouse click Example
    We can see the definitions or references or usages of any function or variable in our IDE like PyCharm. That helps to understand the existing code base efficiently.
  3. Inspect elements and console Example
    In chrome, we can inspect HTML elements and run javascript code inside console. That helps up to find better selectors and automations steps efficiently.

NOTE: By pressing UP key we can see the history about what codes we had run during Python debugging and inside Chrome's console.
NOTE: If you are running javascript code inside selenium chromedriver console then it will NOT keep history.
Good luck :)

Automation ideas

  • Todo: Clear chats of all groups
  • Todo: Clear chats of all contacts
  • Todo: Clear all chats both groups and contacts
  • Todo: Auto-reply given messages to some given messages
  • Todo: Scrap chat as text
  • Todo: Track online status of given number
  • Todo: Send a given message to given contacts at some given time i.e schedule messages
  • Todo: Join group by invite link
  • Todo: Change Web WhatsApp's settings
  • Todo: Scape all contacts and send a message containing URL to their own chatroom
  • Todo: Get currently opened Web WhatsApp's mobile number
  • Todo: Open chat to the same number as currently opened Web WhatsApp's number
  • Todo: Join multiple groups by invite links
  • Todo: Delete chats of all exited groups
  • Todo: Delete chats of all contacts
  • Todo: Get number from contact name
  • Todo: Get number of views to my status
from tithiwa import Tithiwa

# Create bot 
tithiwabot = Tithiwa()

## Generate sessions and open sessions
tithiwabot.generate_session("filename")
tithiwabot.open_session("filename")

## Get currently opened Web-WhatsApp's details
print(tithiwabot.get_my_number())
print(tithiwabot.get_my_name())
print(tithiwabot.get_my_about())

## Open chatroom and send message
tithiwabot.open_chat_to("919592140593")
tithiwabot.open_chat_to_number_using_url("919592140593")  # wa.me/919592140593
tithiwabot.send_message_to("919592140593", "Hello, from Tithiwa")

## Get number from contact name
print(tithiwabot.get_mobile_number_of("Contact1"))

## Send a message to multiple chats
tithiwabot.send_message_to_multiple_chats("hello", ["contact1", "contact2", "Group1"])

## Send a message to multiple chats at given time
tithiwabot.send_message_at_time_to(["contact1", "contact2", "Group1"],
                                   "hi, from tithiwa at 9:36PM",
                                   "21:36:00")

## Create new WhatsApp group
tithiwabot.create_group("GroupName", ["contact1", "contact2", "contact2"])

## Scrape members list from group
print(tithiwabot.scrape_members_from_group("GroupName"))  # ["contact1", "contact2", "contact2"]

## Make given contacts as group admins of given group
tithiwabot.make_group_admins("GroupName", ["contact1", "contact2"])

## Remove given contacts from given group
tithiwabot.remove_members_from_group("GroupName", ["contact1", "contact2"])

## Send a message to a group with mentioning all group members
tithiwabot.send_message_with_mention_all_to_group("GroupName", "Hello All")

## Exit from group ✔
tithiwabot.exit_from_group("GroupName1")

## Exit from all groups ✔
tithiwabot.exit_from_all_groups()

## Exit from given groups ✔
tithiwabot.exit_from_groups(["GroupName1", "GroupName2"])

Installation

NOTE - pip contains older version i.e clone repo to use

pip install tithiwa

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].