Code Monkey home page Code Monkey logo

baidupan's Introduction

BaiDuPan 百度网盘自动添加资源项目

说明

本项目用于自动化添加百度分享资源到个人百度网盘,若要成功运行,需要提供个人账户cookie,百度分享链接(无密码),存在密码的百度分享链接,暂时不支持。目前项目分为Shell版与GUI版本,GUI目前仅限windows下运行,Shell版任何平台都可以。

Project List

  • baiduspider.py (Shell版本)
  • baiduspider_GUI.py (GUI版本)
  • paidupan.txt (百度网盘分享链接地址文件)

Usage

git clone https://github.com/tengzhangchao/BaiDuPan.git

baiduspider(Shell版)

python baiduspider.py --help

Options

usage: baiduspider.py [-h] [-filename FILENAME] [-shareurl SHAREURL]
                      [-path PATH] [-cookie COOKIE]

optional arguments:
  -h, --help          show this help message and exit
  -filename FILENAME  name of the file to process
  -shareurl SHAREURL  add your shareurl
  -path PATH          add your baidupan-path
  -cookie COOKIE      add your baidupan-cookie

  • -h 帮助
  • -filename 文件名称,存放百度分享链接。(可选)
  • -shareurl 单个百度分享链接。(可选)
  • -path 存储的个人网盘路径,缺省为/根目录。(可选)
  • -cookie cookie值(必填)

baiduspider(GUI版)

单个添加百度分享资源

运行程序

批量添加百度分享资源

运行程序

依赖
  • gooey
  • wxpython
pip install gooey

wxpython请从官网编译安装,或者使用

pip install wxpython

screenshot

ResultStatus

  • 0 (ADD SUCCESS)
  • 12 (ALREADY EXISTS)
  • otherstatus (cookie or path or shareurl have error)

有问题可以在Issues中留言。

详情请参考:色情资源引发的百度网盘之战|nMask'Blog

@By nMask 2017.04.13

更新于2017.04.20---增加GUI版

更新于2017.05.09---修改GUI为中文版   By cxgreat2014

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.