Skip to main content

youku-upload

Upload videos to Youku from the command line

Install

pip install youku-upload

Usage

youku-upload --client-id YOUR-CLIENT-ID --access-token YOUR-ACCESS-TOKEN file-to-upload.mp4

More command arguments, please check:

usage: youku-upload [-h] --client-id CLIENT_ID --access-token ACCESS_TOKEN
                    [--title TITLE] [--tags TAGS] [--description DESCRIPTION]
                    [--copyright-type COPYRIGHT_TYPE]
                    [--public-type PUBLIC_TYPE] [--category CATEGORY]
                    [--watch-password WATCH_PASSWORD]
                    FILE [FILE ...]

Upload videos to Youku from the command line

Before you use this tool, you should create your application at https://cloud.youku.com/app

Youku support these formats: 
    wmv,avi,dat,asf,rm,rmvb,ram,mpg,mpeg,3gp,mov,mp4,m4v,
    dvix,dv,dat,mkv,flv,vob,ram,qt,divx,cpk,fli,flc,mod

positional arguments:
  FILE                  file to upload

optional arguments:
  -h, --help            show this help message and exit
  --client-id CLIENT_ID
                        application client id
  --access-token ACCESS_TOKEN
                        access token
  --title TITLE         2-50 characters, default is file name
  --tags TAGS           1-10 tags joined with comma
  --description DESCRIPTION
                        less than 2000 characters
  --copyright-type COPYRIGHT_TYPE
                        'original' or 'reproduced', default is 'original'
  --public-type PUBLIC_TYPE
                        'all' or 'friend' or 'password'
  --category CATEGORY   
                        default is 'Others', options contains:
                        TV => 电视剧
                        Movies => 电影
                        Variety => 综艺
                        Anime => 动漫
                        Music => 音乐
                        Education => 教育
                        Documentary => 纪实
                        News => 资讯
                        Entertainment => 娱乐
                        Sports => 体育
                        Autos => 汽车
                        Tech => 科技
                        Games => 游戏
                        LifeStyle => 生活
                        Fashion => 时尚
                        Travel => 旅游
                        Parenting => 亲子
                        Humor => 搞笑
                        Wdyg => 微电影
                        Wgju => 网剧
                        Pker => 拍客
                        Chyi => 创意视频
                        Zpai => 自拍
                        Ads => 广告
                        Others => 其他
  --watch-password WATCH_PASSWORD
                        if --public-type is password

Release files for youku-upload 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for youku-upload 0.1.2
File Size Uploaded
youku_upload-0.1.2.tar.gz 7.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for youku-upload 0.1.2
File Interpreter ABI Platform
youku_upload-0.1.2-py3-none-any.whl Python 3 none any Details

Total release size: 16.7 kB

Release files / youku_upload-0.1.2.tar.gz

Download URL youku_upload-0.1.2.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
b3c509518f4de3a047cb9d28befb2f440dbaf1d0a5aeb0b7d399a1262ba8094c
BLAKE2b-256 checksum
How to use checksums
b212a932ae3e98ab755e52f88a1f0e01c14c0d76057c608caf503dbc6532b574
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.12 Darwin/23.6.0

Release files / youku_upload-0.1.2-py3-none-any.whl

Download URL youku_upload-0.1.2-py3-none-any.whl
Size 9.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
71b5d33868a6f992135fc2d19c1a9a25d57f6c94257d695e1590311edc822e8a
BLAKE2b-256 checksum
How to use checksums
8c7b4b8ac6d7247e63eb169d5edc408dbbdc07bc7c3689971ed50c04ac211670
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.2.1 CPython/3.12.12 Darwin/23.6.0

Release history Release notifications | RSS feed

This release

0.1.2 This release

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page