示例#1
0
def login_and_Choose_ID(msg):
    id = msg.text
    text_list = Spider.GetInfo(user_id_dict[id], cookie)
    text_list = list(text_list)
    if not text_list:
        itchat.send("还没有新微博", toUserName='******')

    else:
        for text in text_list:
            itchat.send(text, toUserName='******')
    itchat.send(user_guide, toUserName='******')
示例#2
0
from Cookies import getCookies
from spider import Spider

cookie=getCookies("13832405507","daohaolaji")
textlist=Spider.GetInfo("2656274875",cookie)
for text in textlist:
    print(text)

#A testing.delete later...