Coder Social home page Coder Social logo

baiduyun_share_aggregator's Introduction

百度云分享链接聚合脚本

脚本介绍

本脚本可以通过百度云分享链接和提取码把对应的文件整合到目标文件夹中,方便批量下载。

举个例子就是,你有一堆电影的百度云分享链接,你想把这堆电影都下载怎么办呢?
一个方法是:
你可以把这堆电影都保存到你的百度云文件夹中,然后找个工具把这个文件夹下载下来。
这个脚本做的事情就是帮你把这堆电影都保存到你的百度云文件夹。

使用说明

环境依赖

  • 依赖node环境

我开发时候使用的是8.14.0的版本,如果使用过程中有版本问题,可以切换到这个版本。

必须参数&文件

  • /data/share_links.json文件 该文件用来存放你的百度云分享链接,格式如下:
[{
    "link": "", // 百度云分享链接
    "code": ""  // 百度云分享的提取码,没有的话就空字符串
}]
  • BDUSS

该参数在把文件保存到你的指定文件夹时使用,用做你的uuid。通过浏览器登录百度云盘后可以在cookie中获取到这个值。在app.js文件顶部可以更改这个值。

  • TARGET_DIR

该参数在把文件保存到你的指定文件夹时使用,用做你的指定文件夹。该值为你创建的文件夹名称,可以为中文,但是必须是绝对路径。在app.js文件顶部可以更改这个值。

比如你创建的文件夹为:

temp_dir

那这里的值应该为:

/temp_dir

运行程序

在程序根目录

npm start

其他

推荐一个贼好用的跨平台百度云盘不限速下载工具 => bnd. 通过这个工具可以快速的把你上面保存的东西下载下来.

baiduyun_share_aggregator's People

Contributors

aqiongbei avatar

Stargazers

 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.