Skip to main content

Upload videos to Youku from the command line

Project description

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

Project details


Download files

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

Source Distribution

youku-upload-0.1.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

youku_upload-0.1.1-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file youku-upload-0.1.1.tar.gz.

File metadata

  • Download URL: youku-upload-0.1.1.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.6.9

File hashes

Hashes for youku-upload-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9b54167787ae5aa88ab0b72c6991838e7b94a325556cfe157b0c4fad7e2bcb2c
MD5 8997108df64c3b1abc25e7330d328fff
BLAKE2b-256 f9a3a1dbcc9242251b1e1ea5007957c585f409b8e7dbcbc81e307b826e5a3b81

See more details on using hashes here.

File details

Details for the file youku_upload-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: youku_upload-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.2 CPython/3.6.9

File hashes

Hashes for youku_upload-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1ad9948e0dad77ceb87875c1964a2c6eebd50fb78a39b63da455c9a2720e5ef3
MD5 a0cd4084449e986f511f14572264d160
BLAKE2b-256 b63371617e75c3046d300a1e9fec450ca71d24e35d245678524f346b85a0b8c3

See more details on using hashes here.

Supported by

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