2023年11月28日发(作者:)

如何使⽤Python⾃动将WhatsApp发送给100个联系⼈个性化

消息

So, you have a list of contacts who you need to send Whatsapp messages to and the number of contacts is about 50–100.

To top it all of you have to send them a message which specifically addresses them.

因此,您有需要向其发送Whatsapp消息的联系⼈列表,并且联系⼈数量约为50–100 。 最重要的是,所有⼈都必须向他们发送⼀条专门

针对他们的消息。

Really becomes difficult when you can’t even use the broadcast feature doesn’t it?

当您甚⾄⽆法使⽤⼴播功能时,真的变得很困难,不是吗?

Well, the good news is there is a way to automate this using python.

好消息是,有⼀种⽅法可以使⽤python⾃动执⾏此操作。

现在,让我们继续向chrome添加某些有⽤的选项。 下⾯的代码所做的基本上是添加⼀个选项来存储您的会话详细信息。 这样做是为了您

不必每次都登录Web Whats-app。 它还可以存储其他帐户的详细信息,例如Google或Facebook。

Honestly, I found that reading data from an excel file and then converting it into a list helped me maintain them as strings.

Obviously, if you have a better way to derive a list. Please feel free to do so. The objective is to have a separate list of all the

values for a column.

⽼实说,我发现从excel⽂件中读取数据,然后将其转换为列表有助于我将其维护为字符串。 显然,如果您有更好的⽅法来导出列表。 请随

for i, j, k in zip(Number, Name, Variable):

Search = (t_to_be_clickable((,"//div[@class='_3FRCZ copyable-text selectable-text']")))

So once you have the code set. Kick back and relax.

因此,⼀旦您设置了代码。 后退并放松。

Photo by on

在 上 照⽚

on (

翻译⾃: