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.

Cant download from viki

See original GitHub issue

Checklist

Region

Philippines

Description

cant download from viki

Verbose log

D:\ytdl>yt-dlp.exe -vU https://www.viki.com/videos/1165864v-is-this-love-checkmate-meeting-episode-1
[debug] Command-line config: ['-vU', 'https://www.viki.com/videos/1165864v-is-this-love-checkmate-meeting-episode-1']
[debug] User config "C:\Users\Cherri Estudillo\AppData\Roaming\yt-dlp\config.txt": ['-o', 'D:/ytdl/%(title)s.%(ext)s', '--no-mtime']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
[debug] yt-dlp version 2022.03.08.1 [c0c2c57] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg n5.0-5-g4769d77c8c-20220310 (setts), ffprobe n5.0-5-g4769d77c8c-20220310, phantomjs 2.1.1
[debug] Optional libraries: brotli, Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {}
Latest version: 2022.03.08.1, Current version: 2022.03.08.1
yt-dlp is up to date (2022.03.08.1)
[debug] [viki] Extracting URL: https://www.viki.com/videos/1165864v-is-this-love-checkmate-meeting-episode-1
[viki] 1165864v: Downloading video JSON
[viki] 1165864v: Downloading video streams JSON
Traceback (most recent call last):
  File "yt_dlp\extractor\common.py", line 735, in _request_webpage
  File "yt_dlp\YoutubeDL.py", line 3591, in urlopen
  File "urllib\request.py", line 531, in open
  File "urllib\request.py", line 640, in http_response
  File "urllib\request.py", line 569, in error
  File "urllib\request.py", line 502, in _call_chain
  File "urllib\request.py", line 649, in http_error_default
urllib.error.HTTPError: HTTP Error 401: Unauthorized

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\extractor\common.py", line 617, in extract
  File "yt_dlp\extractor\viki.py", line 255, in _real_extract
  File "yt_dlp\extractor\viki.py", line 71, in _call_api
  File "yt_dlp\extractor\common.py", line 997, in _download_json
  File "yt_dlp\extractor\common.py", line 976, in _download_json_handle
  File "yt_dlp\extractor\common.py", line 768, in _download_webpage_handle
  File "yt_dlp\extractor\common.py", line 753, in _request_webpage
yt_dlp.utils.ExtractorError: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using  yt-dlp -U

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1389, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1459, in __extract_info
  File "yt_dlp\extractor\common.py", line 643, in extract
yt_dlp.utils.ExtractorError: [viki] 1165864v: Unable to download JSON metadata: HTTP Error 401: Unauthorized (caused by <HTTPError 401: 'Unauthorized'>); please report this issue on  https://github.com/yt-dlp/yt-dlp , filling out the "Broken site" issue template properly. Confirm you are on the latest version using  yt-dlp -U

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "yt_dlp\__main__.py", line 19, in <module>
  File "yt_dlp\__init__.py", line 864, in main
  File "yt_dlp\__init__.py", line 854, in _real_main
  File "yt_dlp\YoutubeDL.py", line 3254, in download
  File "yt_dlp\YoutubeDL.py", line 3227, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1380, in extract_info
  File "yt_dlp\YoutubeDL.py", line 1407, in wrapper
  File "yt_dlp\utils.py", line 1088, in format_traceback
TypeError: format_exception() missing 2 required positional arguments: 'value' and 'tb'
[2860] Failed to execute script '__main__' due to unhandled exception!

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
BLSTR13commented, Mar 12, 2022

I already understand DRM, I just didnt understand what you said, anyways I understand now thanks!

1reaction
zackmark29commented, Mar 12, 2022

So uh what does this means? Im not into coding and stuff

It means, Viki already patched the method again and it’s not gonna work for now until somebody find another solution to download Non-DRM or Non-Protected stream/video.

If you still can’t understand, try to research about DRM.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Download videos for offline watching - Help Center
Offline viewing has my vote, I am a Viki sub for several years but I am using Amazon prime dramafever more these days...
Read more >
[Closed] I can't download the app - Help Center
Please note that your Android device needs to have at least version 7 and above to download the Viki app. The response above...
Read more >
How does Offline Viewing work? - Help Center - Viki
The Offline Viewing feature allows eligible users to download DRM-supported content with a network connection and watch the downloaded ...
Read more >
[Closed] Unable to download episodes - Help Center
Hi-- I am in the US. I have Viki pass plus. I am trying to download episodes of shooting stars but the episodes...
Read more >
[Closed] Offline video downloads still not working - Help Center
[Closed] Offline video downloads still not working ... Has anyone using IOS devices recently been able to download full episodes yet?
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