xuzhongteng02 / BaiDuPan

百度网盘自动添加资源脚本

Home Page:http://thief.one/2017/04/12/2/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

百度网盘自动添加资源脚本

http://thief.one/2017/04/12/2/


Languages

Language:Python 100.0%