Giter Site home page Giter Site logo

wuyuemoon / weibo-porter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from smilecc/weibo-porter

0.0 1.0 0.0 73 KB

微博搬运姬,自动搬运B博动态至微博的机器人

Home Page: https://weibo.com/6697757382

License: MIT License

TypeScript 100.00%

weibo-porter's Introduction

微博搬运姬

基于Firefox Headless,实现自动监听某位用户的B博(Bilibili动态),当有新动态发布时,自动将该条动态搬运至微博。

  • 7 * 24小时全自动无人值守
  • 自动转发图片与文字
  • 自动截屏转发内容上下文
  • 自动清除图片缓存
  • 使用原子锁防止重复搬运
  • 使用TypeScript编写

目录

Demo

环境要求

快速开始

请确认Redis监听的端口为6379,否则请自行修改src/utils/Redis.ts中的连接地址。

准备好如上环境后,安装项目依赖。

$ yarn install

随后在src/config.ts中填写微博的账户与密码,首次运行建议开启stopSend,否则将会把被监听用户的最新一页动态全部搬运过来,耗时可能较长。

执行如下命令启动项目。

$ yarn start

获取帮助

如果您有疑问或者建议,或是反馈Bug,建议您在本项目的Github issues中进行发布。

已知问题

  • 由于Firefox Headless的element.taskScreenshot无法单独截取该元素的图片,所以仍然使用了Chrome Headless作为元素截取工具。

贡献代码

欢迎提交PR。

鸣谢

  • 孙渣(本项目为孙老板而生)
  • 璨desu(我 谢 我 自 己)

License

MIT License

weibo-porter's People

Contributors

smilecc avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.