VideoHelp Forum
+ Reply to Thread
Results 1 to 9 of 9
Thread
  1. Hello,
    every time I tried to download from youku.com
    i'm getting this

    video link
    https://v.youku.com/v_show/id_XMjk4ODAyMzIyOA==.html?spm=a2ha1.14919748_WEBTV_JINGXUAN...2ec49c46efbfbd

    i'm using this command
    yt-dlp -Uv --cookies-from-browser chrome https://v.youku.com/v_show/id_XNTE5NzY0ODUyMA

    yt-dlp -Uv --cookies-from-browser chrome https://v.youku.com/v_show/id_XNTE5NzY0ODUyMA
    [debug] Command-line config: ['-Uv', '--cookies-from-browser', 'chrome', 'https://v.youku.com/v_show/id_XNTE5NzY0ODUyMA']
    [debug] Encodings: locale cp949, fs utf-8, pref cp949, out utf-8, error utf-8, screen utf-8
    [debug] yt-dlp version 2022.07.18 [135f05e]
    [debug] Python 3.8.6 (CPython 64bit) - Windows-10-10.0.19041-SP0
    [debug] Checking exe version: ffmpeg -bsfs
    [debug] Checking exe version: ffprobe -bsfs
    [debug] exe versions: ffmpeg n4.4.1-2-gcc33e73618-20211122 (setts), ffprobe n4.4.1-2-gcc33e73618-20211122, phantomjs 2.1.1
    [debug] Optional libraries: Cryptodome-3.11.0, brotli-1.0.9, certifi-2020.12.05, mutagen-1.45.1, sqlite3-2.6.0, websockets-9.1
    [Cookies] Extracting cookies from chrome
    [debug] Extracting cookies from: "C:\Users\Muhammad Hayat\AppData\Local\Google\Chrome\User Data\Default\Network\Cookies"
    [debug] Found local state file at "C:\Users\Muhammad Hayat\AppData\Local\Google\Chrome\User Data\Local State"
    [Cookies] Extracted 2931 cookies from chrome
    [debug] cookie version breakdown: {'v10': 2931, 'other': 0, 'unencrypted': 0}
    [debug] Proxy map: {}
    [debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
    ERROR: Unable to obtain version info; Please try again later or Visit https://github.com/yt-dlp/yt-dlp/releases/latest
    [debug] [youku] Extracting URL: https://v.youku.com/v_show/id_XNTE5NzY0ODUyMA
    [youku] XNTE5NzY0ODUyMA: Retrieving cna info
    ERROR: [youku] XNTE5NzY0ODUyMA: Unable to download webpage: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host> (caused by URLError(ConnectionResetError(10054, 'An existing connection was forcibly closed by the remote host', None, 10054, None)))
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\s ite-packages\yt_dlp\extractor\common.py", line 644, in extract
    ie_result = self._real_extract(url)
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\s ite-packages\yt_dlp\extractor\youku.py", line 146, in _real_extract
    _, urlh = self._download_webpage_handle(
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\s ite-packages\yt_dlp\extractor\common.py", line 838, in _download_webpage_handle
    urlh = self._request_webpage(url_or_request, video_id, note, errnote, fatal, data=data, headers=headers, query=query, expected_status=expected_status)
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\s ite-packages\yt_dlp\extractor\common.py", line 795, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\u rllib\request.py", line 1350, in do_open
    h.request(req.get_method(), req.selector, req.data, headers,
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\h ttp\client.py", line 1255, in request
    self._send_request(method, url, body, headers, encode_chunked)
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\h ttp\client.py", line 1301, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\h ttp\client.py", line 1250, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\h ttp\client.py", line 1010, in _send_output
    self.send(msg)
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\h ttp\client.py", line 950, in send
    self.connect()
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\h ttp\client.py", line 1424, in connect
    self.sock = self._context.wrap_socket(self.sock,
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\s sl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\s sl.py", line 1040, in _create
    self.do_handshake()
    File "c:\users\muhammad hayat\appdata\local\programs\python\python38\lib\s sl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
    ConnectionResetError: [WinError 10054] An existing connection was forcibly closed by the remote host
    Quote Quote  
  2. Even if you manage to download, are you able to get keys for decryption?
    It has Widevine but not "default" Widevine.
    Quote Quote  
  3. then it's not possible to download from youku.com?
    Quote Quote  
  4. For keys I'm up to this so far

    Code:
    license response status: <Response [200]>
    server reports: {"states":102,"data":null,"msg":"参数异常"}
    server did not issue license, make sure you have correctly pasted all the required headers in the headers.py. Also check json/raw params of POST request.
    Quote Quote  
  5. oh i think it's not possible then
    thank you so much for help
    Quote Quote  
  6. mspr
    Quote Quote  
  7. not mspr-only, its widevine too.
    Quote Quote  
  8. Originally Posted by [ss]vegeta View Post
    For keys I'm up to this so far

    Code:
    license response status: <Response [200]>
    server reports: {"states":102,"data":null,"msg":"参数异常"}
    server did not issue license, make sure you have correctly pasted all the required headers in the headers.py. Also check json/raw params of POST request.
    Enable privacy mode and base64.urlsafe_b64encode the challenge. OP's link seems to play one of two videos; the KID and KEY for PSSH
    Code:
    AAAASnBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAACoSEB3xF3wTAFK3QWioa4v7v/sSEB3xF3wTAFK3QWioa4v7v/tI88aJmwY=
    is
    Code:
    1df1177c130052b74168a86b8bfbbffb:936b235c5f207020b097f67e5ef6e244
    (don't know for what resolution)
    Quote Quote  
  9. Originally Posted by AbortRetryFail View Post
    Enable privacy mode and base64.urlsafe_b64encode the challenge.
    Thanks
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!