Skip to content

[Youku] fix extractor to use latest ccode #28460

Closed
@peroperosauce

Description

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2021.03.14
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that all URLs and arguments with special characters are properly quoted or escaped
  • I've searched the bugtracker for similar issues including closed ones

Verbose log

ERROR: Youku server reported error -6004: 客户端无权播放,201; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

In youku.py, as of today 2021.03.16, the currently hard-coded ccode 0590 :
https://github.com/ytdl-org/youtube-dl/blob/master/youtube_dl/extractor/youku.py#L157

does not work anymore and leads to the following error when trying to download any youku video :
ERROR: Youku server reported error -6004: 客户端无权播放,201

The new ccode to use since march 2021 is 0532.
Can you please update youky.py in order to replace 0590 by 0532 ?

I asked the question in #28447 but maybe an issue "Broken site support" is more suitable ?
Thanks

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions