Giter Site home page Giter Site logo

baiducloudbatchsave's Introduction

声明:

为了方便写了一个批量转存百度云盘共享资源的python脚本,不知道是否损害谁的权益,如果有,请联系笔者,笔者会在第一时间删除。也希望各位朋友不要滥用。

简单描述

  • 利用selenium这个自动化的webdriver实现。所以需要安装selenium:pip install selenium
  • 并且需要安装与浏览器相对应的webdriver。比如笔者的浏览器是Google Chrome 78.0.3904.87(正式版本) (64 位),所以需要chromedriver的对应版本(我也从墙外下载了78版)(其他版本的chrome driver可在淘宝镜像找到)
  • 另外为了实现免登录,还需要查看cookies的两个,这两个cookie是非常私密的数据,如果泄露,就相当于泄露了百度云盘账户。
  • 想要批量转存的共享资源应该存储在resource.csv文件中,百度云链接对应共享资源的链接,百度提取码对应共享资源的提取码。如果不存在提取码,对应位置留空即可 其他的大家就看代码吧

个人觉得selenium的方法比较慢,处理3000个不到的转存花了4个小时左右才完成。除了selenium这种方法,应该也存在其他更直接的方法。 如果大家有谁了解的话,笔者请教了。

baiducloudbatchsave's People

Contributors

zhang-tianxu 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.