Skip to content

burkun/Sinaweibo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sinaweibo (拍照片的功能已经失效,树莓派坏掉了)

新浪微博模拟登录 和 自动发 微博,带图片微博 的python脚本,使用opencv实现读取摄像头上传图片到微博。

weibo = Weibo('burkun', '******')
print weibo.uploadJpegImg("../test.JPG")
weibo.postTextWithImage("机器发的第一个带图片的微博!!!很兴奋呐!!!", "../test.JPG")
weibo.decide_post_comment();
weibo.get_comment('3856489792158325')

演示地址


pip install rsa
pip install PIL --allow-external PIL --allow-unverified PIL
pip install pyquery
sudo apt-get install libjpeg-dev
pip uninstall PIL
apt-get install libjpeg-dev
apt-get install libfreetype6-dev
apt-get install zlib1g-dev
apt-get install libpng12-dev
pip install PIL --upgrade

About

新浪微博模拟登录 和 自动发 微博,带图片微博 的python脚本,使用opencv实现读取摄像头上传图片到微博。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages