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
Release history Release notifications | RSS feed
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.2.tar.gz
(7.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file youku_upload-0.1.2.tar.gz.
File metadata
- Download URL: youku_upload-0.1.2.tar.gz
- Upload date:
- Size: 7.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.12 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3c509518f4de3a047cb9d28befb2f440dbaf1d0a5aeb0b7d399a1262ba8094c
|
|
| MD5 |
845218b9779f0016fccfe156c764952b
|
|
| BLAKE2b-256 |
b212a932ae3e98ab755e52f88a1f0e01c14c0d76057c608caf503dbc6532b574
|
File details
Details for the file youku_upload-0.1.2-py3-none-any.whl.
File metadata
- Download URL: youku_upload-0.1.2-py3-none-any.whl
- Upload date:
- Size: 9.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.2.1 CPython/3.12.12 Darwin/23.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
71b5d33868a6f992135fc2d19c1a9a25d57f6c94257d695e1590311edc822e8a
|
|
| MD5 |
36ef97aba171e95a028fc08bec936dc0
|
|
| BLAKE2b-256 |
8c7b4b8ac6d7247e63eb169d5edc408dbbdc07bc7c3689971ed50c04ac211670
|