This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#encoding:utf-8 | |
from wxpy import * | |
import time | |
command = input("欢迎使用微信拜年机器人 Made By @Sunbelife\n输入 1 -> 自动群发好友拜年信息\n输入 2 -> 开启拜年消息自动回复\n输入 3 -> 开启二合一模式\n") | |
if command == '1': | |
bot = Bot() | |
for friends in bot.friends(): | |
if friends.remark_name: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: UTF-8 -*- | |
import feedparser | |
import os | |
import json | |
import time | |
def getinfo(oristr, finstr, offset): | |
index = oristr.find(finstr) | |
return oristr[index:index+offset] |