Skip to main content

manuplating baidu yun

Project description

度盘令

目的

用程序做百度盘 Web 界面可以做的所有(Almost)事情。模块化。

  1. 读。列表、查看
  2. 写。复制、移动、删除、分享。

方式

  1. 抓取 iPhone 客户端的 HTTP 请求,录下 HAR
  2. 用 Python 程序 仿制这些请求
  3. 形成模块
  4. 封装一个 Cli

CLI 的假想模式


>>> dp = dupan(user="neoney", bduss="")
>>> dp.list('/')
>>> dp.stat('/manga')
>>> dp.cd('/manga')
>>> dp.mkdir('/manga/arakawa')
>>> dp.cp('/manga/hagaren.zip', '/manga/arakawa/hagaren.zip')
>>> dp.move('/manga/hagaren.zip', '/manga/arakawa/hagaren.zip')
>>> dp.delete('/manga/hagaren.zip')
>>> dp.share('/manga/arakawa/hagaren.zip')
>>> dp.sharings
>>>

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dupan-0.1.tar.gz (1.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dupan-0.1-py3-none-any.whl (1.7 kB view details)

Uploaded Python 3

File details

Details for the file dupan-0.1.tar.gz.

File metadata

  • Download URL: dupan-0.1.tar.gz
  • Upload date:
  • Size: 1.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4

File hashes

Hashes for dupan-0.1.tar.gz
Algorithm Hash digest
SHA256 757f20d721b4508b01145f292c28de9d2b68e68b3cf838f2c0a683a3be1a302d
MD5 1f10a5a615270d1846a951484e9a2048
BLAKE2b-256 f4c4706ac7aecbb78706f5ae806d821e87644068bea0646762aa44bb8646baa3

See more details on using hashes here.

File details

Details for the file dupan-0.1-py3-none-any.whl.

File metadata

  • Download URL: dupan-0.1-py3-none-any.whl
  • Upload date:
  • Size: 1.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.4

File hashes

Hashes for dupan-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 459b40dbd215cc8717feca8c11708a76a6e0402a8cbc40503fb96c0b55d6ff00
MD5 6b138fdd382978c4effe80422c1c11c9
BLAKE2b-256 aa8c53035d3d4f60c547a4ac12168fa245910b2b2b3f51bcf6ba82a373637d54

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page