今天分享下如何一鍵批量下微網誌部落客的微網誌,圖檔和視訊,順便找出部落客最受歡迎的10條微網誌(根據評論轉發贊數排序)。
首先下載下傳我打包的工具(在公衆号背景對話框回複
微網誌
擷取軟體),使用很簡單,輕按兩下打開輸入微網誌uid,是否下載下傳圖檔和視訊,1為是,0為否,如果想全部下載下傳時間就輸入2010-01-01。

cookie需要登陸網頁版微網誌https://m.weibo.cn/ 在控制台擷取。
然後等待抓取下載下傳,下載下傳完成後的檔案在weibo目錄下。
下載下傳的所有微網誌圖檔:
下載下傳的所有微網誌視訊:
下載下傳的所有微網誌博文excel檔案:
這裡再根據微網誌點贊轉發評論數之和做個降序排列,這樣就能找出受歡迎的微網誌了。
import pandas as pddf=pd.read_csv('weibo/歌手李健/1744395855.csv')df['sort']=df['點贊數']+df['轉發數']+df['評論數']df.sort_values(by=['sort'],ascending=False, inplace=True)df.head(10).to_csv('歌手李健.csv',encoding='utf_8_sig',index=False)
李健老師排名前10的微網誌位址如下:
https://www.weibo.com/1744395855/Jfpw2xihvhttps://www.weibo.com/1744395855/Cc3T09sqMhttps://www.weibo.com/1744395855/C535GhEohhttps://www.weibo.com/1744395855/ChaNZmx6Ahttps://www.weibo.com/1744395855/Ckrkv2A0bhttps://www.weibo.com/1744395855/Gt5of2OCohttps://www.weibo.com/1744395855/Cq31ddlKNhttps://www.weibo.com/1744395855/CfNZzoAMVhttps://www.weibo.com/1744395855/C7BcXcBSmhttps://www.weibo.com/1744395855/CD7NmbtWZ
順便再分析下他的微網誌内容,他的微網誌詞雲圖:
每個月轉發評論贊數總和。
原創微網誌和轉發比例。
發微網誌工具比例。
再分享幾個微網誌部落客的資料。
劉亦菲
神仙姐姐的受歡迎前10的微網誌位址:
https://www.weibo.com/3261134763/IvZoCsDB5https://www.weibo.com/3261134763/IDqVVtW2dhttps://www.weibo.com/3261134763/H29K0xhDShttps://www.weibo.com/3261134763/J2j4kvgnxhttps://www.weibo.com/3261134763/JeaVXxfo1https://www.weibo.com/3261134763/IAfIxBgu2https://www.weibo.com/3261134763/J0FWdzzighttps://www.weibo.com/3261134763/IjoHYmX6ghttps://www.weibo.com/3261134763/Kj3LexGBehttps://www.weibo.com/3261134763/IEO8ijQBF
順便用之前分享的工具合成上千張劉亦菲為一張圖微信神器:一鍵批量下載下傳微信好友頭像并拼成一張圖:
熱知識bot
冷知識的兄弟熱知識部落客的受歡迎前10的微網誌位址:
https://www.weibo.com/5106096849/IEIgcf9UShttps://www.weibo.com/5106096849/Jws39cSEVhttps://www.weibo.com/5106096849/Ig8Vr2x9Rhttps://www.weibo.com/5106096849/JfKYCxFHyhttps://www.weibo.com/5106096849/IE0X18yELhttps://www.weibo.com/5106096849/I0vSyhXsuhttps://www.weibo.com/5106096849/IFgAe1yX6https://www.weibo.com/5106096849/JASEBaAq0https://www.weibo.com/5106096849/IFfld9dXrhttps://www.weibo.com/5106096849/Jd081uj4b
千禧bot
帶你懷舊追憶時光,他的受歡迎前10的微網誌位址:
https://www.weibo.com/6774131741/JBd4BxtDZhttps://www.weibo.com/6774131741/KuPR98znIhttps://www.weibo.com/6774131741/KmM3rtXeahttps://www.weibo.com/6774131741/IsOXi3qdDhttps://www.weibo.com/6774131741/ItAy7BJRGhttps://www.weibo.com/6774131741/JhKgtzK2Uhttps://www.weibo.com/6774131741/Jx5Y3oUrchttps://www.weibo.com/6774131741/JmC2kr2oGhttps://www.weibo.com/6774131741/Jlycdodumhttps://www.weibo.com/6774131741/Iu3GKhNoJ
冷知識bot
他的受歡迎前10的微網誌位址:
https://www.weibo.com/3911558393/Hxkxr3CWMhttps://www.weibo.com/3911558393/JfzA9bbmbhttps://www.weibo.com/3911558393/IreJGwcSbhttps://www.weibo.com/3911558393/HEQwh5blqhttps://www.weibo.com/3911558393/IA93NawDthttps://www.weibo.com/3911558393/KfCfuuKXrhttps://www.weibo.com/3911558393/Iz0g6eVdbhttps://www.weibo.com/3911558393/In3Dj6Otvhttps://www.weibo.com/3911558393/KrtSSgSAbhttps://www.weibo.com/3911558393/I87oOhZvc
周傑倫_bot
他的受歡迎前10的微網誌位址:
https://www.weibo.com/277449440/K8pNcgJ1Ohttps://www.weibo.com/277449440/IE1PwomY3https://www.weibo.com/277449440/IEHFVfQeKhttps://www.weibo.com/277449440/Iu4e7l7aihttps://www.weibo.com/277449440/IFjNiaphjhttps://www.weibo.com/277449440/J8yUa5fhJhttps://www.weibo.com/277449440/J9b8HpAlFhttps://www.weibo.com/277449440/IDbnxj1Oxhttps://www.weibo.com/277449440/KtVhF19r6https://www.weibo.com/277449440/IFTnIsYfH
他的微網誌圖檔下載下傳下來有3個多G。
當然如果你隻是單純想下載下傳微網誌圖檔和視訊可以用這個工具下載下傳(在公衆号背景對話框回複
微網誌
擷取),同樣輸入微網誌uid和cookie就能下載下傳,也是儲存在weibo目錄。
請輸入微網誌uid:1744395855輸入微網誌cookie:1/1 Fri Oct 15 19:13:28 2021歌手李健 1744395855finish analysis 647/707(#30)practically scan 647 weibos, get 206 resourcesall tasks done 206/206(100%)success 206, failure 0, total 206------------------------------下載下傳完成
隻是想備份微網誌圖文可以使用這個Chrome擴充 https://chrome.google.com/webstore/detail/octoman%E5%BE%AE%E5%8D%9A%E5%A4%87%E4%BB%BD/pojodomdlpobompicdllljgiomnfpmho , 安裝Chrome擴充方法見我之前文章上不了谷歌如何安裝 Chrome 擴充? ,備份的html效果: