yt-dlc icon indicating copy to clipboard operation
yt-dlc copied to clipboard

Viki has stopped working

Open shivsah opened this issue 4 years ago • 12 comments

[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-F', '--username', 'PRIVATE', '--password', 'PRIVATE', '--list-sub', 'https://www.viki.com/videos/1172625v-true-beauty-episode-1', '-v'] [debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8 [debug] youtube-dl version 2020.12.07 [debug] Python version 3.7.3 (CPython) - Linux-4.19.0-12-cloud-amd64-x86_64-with-debian-10.7 [debug] exe versions: ffmpeg 4.1.6-1, ffprobe 4.1.6-1 [debug] Proxy map: {} [viki] Logging in ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by <HTTPError 404: 'Not Found'>); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see https://yt-dl.org/update on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output. File "/home/sysad/.local/lib/python3.7/site-packages/youtube_dl/extractor/common.py", line 632, in _request_webpage return self._downloader.urlopen(url_or_request) File "/home/sysad/.local/lib/python3.7/site-packages/youtube_dl/YoutubeDL.py", line 2248, in urlopen return self._opener.open(req, timeout=self._socket_timeout) File "/usr/lib/python3.7/urllib/request.py", line 531, in open response = meth(req, response) File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response 'http', request, response, code, msg, hdrs) File "/usr/lib/python3.7/urllib/request.py", line 569, in error return self._call_chain(*args) File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain result = func(*args) File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default raise HTTPError(req.full_url, code, msg, hdrs, fp)

shivsah avatar Dec 10 '20 04:12 shivsah

this link - 'https://www.viki.com/videos/1172625v-true-beauty-episode-1' works if i use youtube-dl but does not work with youtube-dlc yet.

october262 avatar Dec 10 '20 18:12 october262

It works on youtube-dl but I'm unable to use login credentials on it.. do maxes out at 360p as for youtube-dlc it's Error 500


From: october262 [email protected] Sent: Thursday, December 10, 2020 11:58:36 PM To: blackjack4494/yt-dlc [email protected] Cc: Shivam Sah [email protected]; Author [email protected] Subject: Re: [blackjack4494/yt-dlc] Viki has stopped working (#282)

this link - 'https://www.viki.com/videos/1172625v-true-beauty-episode-1' works if i use youtube-dl but does not work with youtube-dlc yet.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/blackjack4494/yt-dlc/issues/282#issuecomment-742708616, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEHCHV7UUG3PH64OE5I3W7TSUEHNJANCNFSM4UUOY2GA.

shivsah avatar Dec 10 '20 18:12 shivsah

This was caused by a mistake I made while merging youtube-dl #245. The part that works in yt-dl will be fixed in #280

pukkandan avatar Dec 10 '20 20:12 pukkandan

All viki content already DRM protected. There's nothing you can do about it :) And the stream API only returning with MPD Url not the direct links. or try from other country.

1

zackmark29 avatar Dec 12 '20 02:12 zackmark29

[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-F', '--username', 'PRIVATE', '--password', 'PRIVATE', '--add-header', 'x-viki-app-ver: 2.2.5.1428709186', '--add-header', 'x-viki-as-id: 100005a', 'https://www.viki.com/videos/1172625v-true-beauty-episode-1', '-v'] [debug] Adding header from command line option x-viki-app-ver: 2.2.5.1428709186 [debug] Adding header from command line option x-viki-as-id: 100005a [debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252 [debug] youtube-dl version 2020.12.22 [debug] Python version 3.7.3 (CPython) - Windows-10-10.0.19041-SP0 [debug] exe versions: ffmpeg 4.2, ffprobe 4.2 [debug] Proxy map: {} [viki] Logging in [viki] 1172625v: Downloading video JSON [viki] 1172625v: Downloading MPD manifest WARNING: [viki] Unknown MIME type image/jpeg in DASH manifest [viki] 1172625v: Downloading video streams JSON [viki] 1172625v: Downloading MPD manifest WARNING: [viki] Unknown MIME type image/jpeg in DASH manifest [info] Available formats for 1172625v: format code extension resolution note mpd-http-6 m4a audio only DASH audio 49k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-7 m4a audio only DASH audio 65k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-5 m4a audio only DASH audio 81k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-8 m4a audio only DASH audio 193k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-9 m4a audio only DASH audio 193k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-1 mp4 426x238 DASH video 221k , mp4_dash container, avc1.640015, 30fps, video only mpd-http-2 mp4 640x360 DASH video 420k , mp4_dash container, avc1.64001E, 30fps, video only mpd-http-3 mp4 852x480 DASH video 657k , mp4_dash container, avc1.64001F, 30fps, video only mpd-http-4 mp4 1280x720 DASH video 1312k , mp4_dash container, avc1.64001F, 30fps, video only (best)

I've tried to get the mpd file for 1080p from Germany, US ,UK and India to no avail, looks like they've made 1080p stream DRM only...

@zackmark29 Any idea as to which country has mpd 1080p stream..?

shivsah avatar Dec 23 '20 11:12 shivsah

[debug] System config: [] [debug] User config: [] [debug] Custom config: [] [debug] Command-line args: ['-F', '--username', 'PRIVATE', '--password', 'PRIVATE', '--add-header', 'x-viki-app-ver: 2.2.5.1428709186', '--add-header', 'x-viki-as-id: 100005a', 'https://www.viki.com/videos/1172625v-true-beauty-episode-1', '-v'] [debug] Adding header from command line option x-viki-app-ver: 2.2.5.1428709186 [debug] Adding header from command line option x-viki-as-id: 100005a [debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252 [debug] youtube-dl version 2020.12.22 [debug] Python version 3.7.3 (CPython) - Windows-10-10.0.19041-SP0 [debug] exe versions: ffmpeg 4.2, ffprobe 4.2 [debug] Proxy map: {} [viki] Logging in [viki] 1172625v: Downloading video JSON [viki] 1172625v: Downloading MPD manifest WARNING: [viki] Unknown MIME type image/jpeg in DASH manifest [viki] 1172625v: Downloading video streams JSON [viki] 1172625v: Downloading MPD manifest WARNING: [viki] Unknown MIME type image/jpeg in DASH manifest [info] Available formats for 1172625v: format code extension resolution note mpd-http-6 m4a audio only DASH audio 49k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-7 m4a audio only DASH audio 65k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-5 m4a audio only DASH audio 81k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-8 m4a audio only DASH audio 193k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-9 m4a audio only DASH audio 193k , m4a_dash container, mp4a.40.2 (48000Hz) mpd-http-1 mp4 426x238 DASH video 221k , mp4_dash container, avc1.640015, 30fps, video only mpd-http-2 mp4 640x360 DASH video 420k , mp4_dash container, avc1.64001E, 30fps, video only mpd-http-3 mp4 852x480 DASH video 657k , mp4_dash container, avc1.64001F, 30fps, video only mpd-http-4 mp4 1280x720 DASH video 1312k , mp4_dash container, avc1.64001F, 30fps, video only (best)

I've tried to get the mpd file for 1080p from Germany, US ,UK and India to no avail, looks like they've made 1080p stream DRM only...

@zackmark29 Any idea as to which country has mpd 1080p stream..?

I think any country, the 1080p already DRM. I can still download it but with my personal tool only.

zackmark29 avatar Dec 23 '20 11:12 zackmark29

Any idea as to why youtube-dl doesn't pick it up..?

shivsah avatar Dec 23 '20 11:12 shivsah

Any idea as to why youtube-dl doesn't pick it up..?

Because it's DRM related.

zackmark29 avatar Dec 23 '20 11:12 zackmark29

works ok for me using youtube-dl - $ youtube-dl https://www.viki.com/videos/1172625v-true-beauty-episode-1 [viki] 1172625v: Downloading video JSON [viki] 1172625v: Downloading MPD manifest WARNING: [viki] Unknown MIME type image/jpeg in DASH manifest [viki] 1172625v: Downloading video streams JSON [viki] 1172625v: Downloading MPD manifest WARNING: [viki] Unknown MIME type image/jpeg in DASH manifest [download] Destination: True Beauty - Episode 1-1172625v.fmpd-http-2.mp4 [download] 1.4% of 230.12MiB at 1.12MiB/s ETA 03:22^C ERROR: Interrupted by user

october262 avatar Dec 23 '20 17:12 october262

Any idea as to why youtube-dl doesn't pick it up..?

Because it's DRM related.

does youtube-dl actually say that the 1080p version is DRM protected ??

october262 avatar Dec 23 '20 17:12 october262

works ok for me using youtube-dl - $ youtube-dl https://www.viki.com/videos/1172625v-true-beauty-episode-1 [viki] 1172625v: Downloading video JSON [viki] 1172625v: Downloading MPD manifest WARNING: [viki] Unknown MIME type image/jpeg in DASH manifest [viki] 1172625v: Downloading video streams JSON [viki] 1172625v: Downloading MPD manifest WARNING: [viki] Unknown MIME type image/jpeg in DASH manifest [download] Destination: True Beauty - Episode 1-1172625v.fmpd-http-2.mp4 [download] 1.4% of 230.12MiB at 1.12MiB/s ETA 03:22^C ERROR: Interrupted by user

That's a 360p stream

shivsah avatar Dec 25 '20 12:12 shivsah

How to get 360p or 480p stream, assuming it is still drm-free?

Anutrix avatar May 10 '21 06:05 Anutrix