question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[viki] HTTP Error 422: Unprocessable Entity

See original GitHub issue
[debug] Command-line config: ['-v', 'https://www.viki.com/videos/1080865v', '--c
ookies', 'C:UsersNomaanDesktopcookies.txt']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] yt-dlp version 2021.06.23
[debug] Python version 3.9.5 (CPython 64bit) - Windows-10-10.0.19043-SP0
[debug] exe versions: ffmpeg 4.4-full_build-www.gyan.dev, ffprobe 4.4-full_build
-www.gyan.dev
[debug] Proxy map: {}
[debug] [viki] Extracting URL: https://www.viki.com/videos/1080865v
[viki] 1080865v: Downloading video JSON
ERROR: Unable to download JSON metadata: HTTP Error 422: Unprocessable Entity (c
aused by <HTTPError 422: 'Unprocessable Entity'>); please report this issue on
https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; s
ee  https://github.com/yt-dlp/yt-dlp  on how to update. Be sure to call yt-dlp w
ith the --verbose flag and include its complete output.
  File "C:\Users\Nomaan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\yt_dlp\extract
or\common.py", line 679, in _request_webpage
    return self._downloader.urlopen(url_or_request)
  File "C:\Users\Nomaan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3
.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\yt_dlp\Youtube
DL.py", line 3089, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.152
0.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 523, in open
    response = meth(req, response)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.152
0.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 632, in http_response
    response = self.parent.error(
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.152
0.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 561, in error
    return self._call_chain(*args)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.152
0.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 494, in _call_chain
    result = func(*args)
  File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.9_3.9.152
0.0_x64__qbz5n2kfra8p0\lib\urllib\request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
pukkandancommented, Jul 5, 2021

Even the example videos seems to have DRM now. Unless someone can provide examples without DRM, the site will no longer be supported

but non drm still exist but using another method and android api

That is not the least bit helpful. Explain the method so that someone can have a look at implementing it @zackmark29

0reactions
zackmark29commented, Jul 6, 2021

@pukkandan can you take a look? https://github.com/yt-dlp/yt-dlp/pull/473 the only need to fix there is the channel request but the subtitle and stream already fixed

Read more comments on GitHub >

github_iconTop Results From Across the Web

Viki: Download subtitles - HTTP Error 422: Unprocessable ...
Trying to download the srt Korean subtitles for an episode in a Korean drama on Viki. Getting the above "HTTP Error 422: Unprocessable...
Read more >
422 Unprocessable Entity - HTTP - MDN Web Docs
The HyperText Transfer Protocol (HTTP) 422 Unprocessable Entity response status code indicates that the server understands the content type ...
Read more >
Can't Import Anything From Viki - Language Forum @ LingQ
This always happens: ''Error: Importing failed - Unable to download JSON metadata: HTTP Error 422: Unprocessable Entity'' - Answers on the LingQ language...
Read more >
Why am I seeing this error message while watching videos?
This article contains information on identifying different error message codes and how you can try to troubleshoot.
Read more >
Viki.com Video Add-on - Asian Drama MOVIES & TV Shows
ERROR: Unable to download JSON metadata: HTTP Error 422: Unprocessable Entity (caused by <HTTPError 422: 'Unprocessable Entity'>); ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found