blackjack4494 / yt-dlc

media downloader and library for various sites.
The Unlicense
2.9k stars 366 forks source link

Viki has stopped working #282

Open shivsah opened 3 years ago

shivsah commented 3 years ago

[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)

october262 commented 3 years ago

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.

shivsah commented 3 years ago

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 notifications@github.com Sent: Thursday, December 10, 2020 11:58:36 PM To: blackjack4494/yt-dlc yt-dlc@noreply.github.com Cc: Shivam Sah sahshivam@outlook.com; Author author@noreply.github.com 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.

pukkandan commented 3 years ago

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

zackmark29 commented 3 years ago

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

shivsah commented 3 years ago

[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..?

zackmark29 commented 3 years ago

[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.

shivsah commented 3 years ago

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

zackmark29 commented 3 years ago

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

Because it's DRM related.

october262 commented 3 years ago

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 commented 3 years ago

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 ??

shivsah commented 3 years ago

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

Anutrix commented 3 years ago

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