Skip to content

一个微博相册爬虫,纯javascript爬取,微博图片下载

License

Notifications You must be signed in to change notification settings

yukinotech/WeiboDL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeiboDL

  • 一个微博相册爬虫
  • A Weibo album crawler

log

  • 23.6.5

    • 支持customUid类型的url入口
  • 22.11.19

    • 支持最新版微博 web 端,旧版 web 也兼容了,应该也可以用
    • 增加 username 输出
    • 出现报错,或者阻塞,可以手动继续运行(重试报错部分)
    • 支持生成 txt 文件,脚本运行完成后,会直接自动下载,可以把 txt 直接导入到 idm 等下载器中。
    • 生成的图片链接有可能直接在浏览器里面打不开,因为微博有做 referrer 限制,最好使用下载器下载
  • 19.7.30 继续修复 19.6.3 的 bug,问题在于在不同的地区或者网络环境下访问域名photo.weibo.com,https 协议会在部分情况下降级为 http,从而导致请求跨域被拦截。已采用window.location.origin动态判断当前页面的协议方式。

  • 19.6.3 修复关于 http 在 https 的域名下不能发送 xhr 请求的 bug。现在已全部改成 https。

  • 19.3.30 修复小图 bug, 使得出来的图片为大图。

Install

Usage

  • 在微博相册专辑页面的导航栏下能显示出如下的效果:
  • The following effects can be displayed on the navigation bar of the Weibo Album Album page: 样例2
  • 再单击 run 就能运行,不使用的情况下,不会占用浏览器资源。
  • click run to run, without using the browser resources will not be occupied.

License

GPLv3

WeiboDL is licensed under GNU General Public License Version 3 or later.

WeiboDL is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

WeiboDL is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with BaiduExporter. If not, see http://www.gnu.org/licenses/.