Hi, I have paid streaming in a android application. The application is only support android (android TV and android smartphone), NOT PC. So I tried to use fidller to inspect network activity and android emulator on my PC. When I tried download videos in my android emulator (got videos & audio in *.m4s files & an mpd file), I get mpd file and network information =
Here the encrypted mpd file =Code:POST https://uapisfm.tvbanywhere.com.sg/video/v2/checkout/download HTTP/1.1 Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2MzM5NDIxMzgsImV4cCI6MTYzNDAyNDkzOCwibmJmIjoxNjMzOTQyMTM4LCJkZXZpY2VfaWQiOiIxMjk2MDU2MTYiLCJkZXZpY2Vfb3MiOiJhbmRyb2lkIiwiZGV2aWNlX3JvbGUiOm51bGwsInBsYXRmb3JtIjoiYXBwIiwiZGV2aWNlX2xhbmd1YWdlIjoiaWQiLCJkcm1faWQiOiIiLCJhcHBfdHlwZSI6InNnIiwibGlmZXRpbWVfaWQiOiI4MjVjNWI4NmY3OTdkZDlkIiwiZGV2aWNlX3R5cGUiOiJQcm9kdWN0aW9uIiwidHZiX2FjY291bnRfaWQiOiIzODg5Mjk1IiwidXNlcl9pZCI6IjM4OTgyMyIsInVzZXJfbmlja25hbWUiOiJsaW5nZWR5IiwidXNlcl90aHVtYm5haWxfaW1hZ2UiOiIiLCJ1c2VyX2JhY2tncm91bmRfaW1hZ2UiOiIiLCJ1c2VyX2xldmVsIjoiIiwidXNlcl9iYWRnZSI6IiIsIm1fdG9rZW4iOiIiLCJvdmVycmlkZV9jb3VudHJ5X2NvZGUiOiIifQ.uObyIrm4vBGKtJd-8DxBsiso4TNjgkSf4HmbPaJU80Y Content-Type: application/json; charset=UTF-8 Content-Length: 57 Host: uapisfm.tvbanywhere.com.sg Connection: Keep-Alive Accept-Encoding: gzip User-Agent: okhttp/3.14.9 {"platform":"android","quality":"high","video_id":469170} HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 Content-Length: 684 Connection: keep-alive Date: Mon, 11 Oct 2021 09:03:48 GMT Access-Control-Allow-Credentials: true Set-Cookie: adonis-session=4c0f7506f7cefa39f7776b8a1c9d5497i5ZyswRvSJ9g2kYwxrUQLpnHSRDG9olN0wXCbRoWiY6XAgvXGijY2NWwfrO3G9RjMSyR%2FEBJtGbN6wuS9O%2Fpf8D00Pi8wAE%2F%2BVwbs%2F4xwYqGhAunQ2llsRlkhysS47Il; Path=/; HttpOnly; SameSite=Strict Set-Cookie: XSRF-TOKEN=5ed9ef6a130d313d9532ab632a9626a883N0MOLvp%2BrDz3Yfn6WMaUmSrSQPC5CUyFNCLdHA4weG0fgm0i%2B%2F%2FqyvwilK1Hxf%2B7eJ9gXPvcFq7pGbq5Hy%2F1%2FWsC%2FJNMZSmi7HG%2FtonI3fDADdw1rDbzsRqIqLWBuq; Max-Age=7200; Path=/; SameSite=Strict Set-Cookie: CloudFront-Policy=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKi9jZW5jdm9kczMvX2RlZmluc3RfL3NtaWw6aW50czMvdHZib3ZlcnNlYXMtbWVkaWEvbXl0dnN1cGVyMTUvMzY1MjYvMzY1MjU5NS9tcHNfMDAwMDAyNzA1ODYxLnNtaWwvKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTYzNzM5OTAyOH19fV19; Max-Age=1637399028; Domain=.tvbanywhere.com.sg; Path=/; Expires=Sat, 20 Nov 2021 09:03:48 GMT; HttpOnly Set-Cookie: CloudFront-Signature=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: CloudFront-Signature=UdXe8Uij8gtfFDcPEM7WpV2uGoO0e55WdTQLr--MqTuuzbou1hVSXV4NTEQqczJtl9qnmHKOFoCk~fJqJTFzYi8Bz78dzwB2aOhlKSkwsktOQZXEytaWtLjx4kCG5xMbU9WFyxSIHTdRnBoxO0KzmMa37Gm53io2if5jYmqhpy3l1JJSTrNMZJ55ebJDtb3m2Mmu6O9vgUpPcSuy4vprhp9AYIcI-DY6nQTkmlsHC7GNVsld1AVekHImG5Yntc5VJ0ass9LD6k0JuneLm~2T27HHnRqZFBoNS3kVX3b5fs-5hQI3THFdzCpDB8YjiZF0b1Q4XEurXJifwz1P5cqeeQ__; Max-Age=1637399028; Domain=.tvbanywhere.com.sg; Path=/; Expires=Sat, 20 Nov 2021 09:03:48 GMT; HttpOnly Set-Cookie: CloudFront-Key-Pair-Id=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT Set-Cookie: CloudFront-Key-Pair-Id=APKAI57VHQVD6DKGLGMQ; Max-Age=1637399028; Domain=.tvbanywhere.com.sg; Path=/; Expires=Sat, 20 Nov 2021 09:03:48 GMT; HttpOnly Set-Cookie: adonis-session-values=1d674041e3fabaa339746871b04396a6xhzXOgx8TJa1JqtPZx5MHnsCaBrf8I3HtARPmh%2F9J9HgNcnRSbngrrsBZD%2F1l7nNONAGE9TsoU8FvqJ1cvt9eo0oVT7leENNal6cP4jNK6dJzeW97HApibKVy2%2B%2BBQ3iJeYY9VHxo7nC%2B1XKzL0%2FtBy2BaFRmiWcIMGVhBSA184%3D; Path=/; HttpOnly; SameSite=Strict X-Frame-Options: DENY X-XSS-Protection: 1; mode=block X-Content-Type-Options: nosniff X-Download-Options: noopen cache-control: no-cache, no-store Access-Control-Allow-Origin: * X-Cache: Miss from cloudfront Via: 1.1 230467e706f2010816822110eb513f1f.cloudfront.net (CloudFront) X-Amz-Cf-Pop: CGK52-C1 X-Amz-Cf-Id: b9qDHjQ7W42PNiB8yxsLG5BLVw5EbkE8l3MnBj5CEzyapr1BpYpnYQ== {"video_id":469170,"episode_id":428494,"video_duration":2752.68,"is_download":true,"programme_info":"西遊記-1","content_id":"3652595","video_subtitles":[{"subtitle_language":"tc","subtitle_path":"http://img.tvb.com/he/subtitle/4285/428494_tc.xml"},{"subtitle_language":"sc","subtitle_path":"http://img.tvb.com/he/subtitle/4285/428494_sc.xml"}],"video_breakpoints":[1437.72],"video_stage":"pay","video_drm":"cenc","protocol":"dash","video_paths":[{"profile":"high","quality":"256_S4K","status":"done","url":"https://sg04-vod-cfd.tvbanywhere.com.sg/cencvods3/_definst_/smil:ints3/tvboverseas-media/mytvsuper15/36526/3652595/mps_000002705861.smil/manifest.mpd"}],"expirytime":2591999}
I tried to access directly from my browser, but fails, so it's impossible to download using youtube-dl or yt-dlp =Code:https://www.mediafire.com/file/5hjqsnmcz8v6e7s/manifest.mpd/file
Please teach me to download, thank youCode:https://sg04-vod-cfd.tvbanywhere.com.sg/cencvods3/_definst_/smil:ints3/tvboverseas-media/mytvsuper15/36526/3652595/mps_000002705861.smil/manifest.mpd
Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 9 of 9
Thread
-
-
-
Like this
Code:yt-dlp -F --allow-u --add-header "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2MzM5NDIxMzgsImV4cCI6MTYzNDAyNDkzOCwibmJmIjoxNjMzOTQyMTM4LCJkZXZpY2VfaWQiOiIxMjk2MDU2MTYiLCJkZXZpY2Vfb3MiOiJhbmRyb2lkIiwiZGV2aWNlX3JvbGUiOm51bGwsInBsYXRmb3JtIjoiYXBwIiwiZGV2aWNlX2xhbmd1YWdlIjoiaWQiLCJkcm1faWQiOiIiLCJhcHBfdHlwZSI6InNnIiwibGlmZXRpbWVfaWQiOiI4MjVjNWI4NmY3OTdkZDlkIiwiZGV2aWNlX3R5cGUiOiJQcm9kdWN0aW9uIiwidHZiX2FjY291bnRfaWQiOiIzODg5Mjk1IiwidXNlcl9pZCI6IjM4OTgyMyIsInVzZXJfbmlja25hbWUiOiJsaW5nZWR5IiwidXNlcl90aHVtYm5haWxfaW1hZ2UiOiIiLCJ1c2VyX2JhY2tncm91bmRfaW1hZ2UiOiIiLCJ1c2VyX2xldmVsIjoiIiwidXNlcl9iYWRnZSI6IiIsIm1fdG9rZW4iOiIiLCJvdmVycmlkZV9jb3VudHJ5X2NvZGUiOiIifQ.uObyIrm4vBGKtJd-8DxBsiso4TNjgkSf4HmbPaJU80Y" "https://sg04-vod-cfd.tvbanywhere.com.sg/cencvods3/_definst_/smil:ints3/tvboverseas-media/mytvsuper15/36526/3652595/mps_000002705861.smil/manifest.mpd"
-
Like this
Code:yt-dlp -F --allow-u --add-header "Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpYXQiOjE2MzM5NDIxMzgsImV4cCI6MTYzNDAyNDkzOCwibmJmIjoxNjMzOTQyMTM4LCJkZXZpY2VfaWQiOiIxMjk2MDU2MTYiLCJkZXZpY2Vfb3MiOiJhbmRyb2lkIiwiZGV2aWNlX3JvbGUiOm51bGwsInBsYXRmb3JtIjoiYXBwIiwiZGV2aWNlX2xhbmd1YWdlIjoiaWQiLCJkcm1faWQiOiIiLCJhcHBfdHlwZSI6InNnIiwibGlmZXRpbWVfaWQiOiI4MjVjNWI4NmY3OTdkZDlkIiwiZGV2aWNlX3R5cGUiOiJQcm9kdWN0aW9uIiwidHZiX2FjY291bnRfaWQiOiIzODg5Mjk1IiwidXNlcl9pZCI6IjM4OTgyMyIsInVzZXJfbmlja25hbWUiOiJsaW5nZWR5IiwidXNlcl90aHVtYm5haWxfaW1hZ2UiOiIiLCJ1c2VyX2JhY2tncm91bmRfaW1hZ2UiOiIiLCJ1c2VyX2xldmVsIjoiIiwidXNlcl9iYWRnZSI6IiIsIm1fdG9rZW4iOiIiLCJvdmVycmlkZV9jb3VudHJ5X2NvZGUiOiIifQ.uObyIrm4vBGKtJd-8DxBsiso4TNjgkSf4HmbPaJU80Y" "https://sg04-vod-cfd.tvbanywhere.com.sg/cencvods3/_definst_/smil:ints3/tvboverseas-media/mytvsuper15/36526/3652595/mps_000002705861.smil/manifest.mpd"
Code:WARNING: You have asked for unplayable formats to be listed/downloaded. This is a developer option intended for debugging. If you experience any issues while using this option, DO NOT open a bug report [generic] manifest: Requesting header WARNING: [generic] Could not send HEAD request to https://sg04-vod-cfd.tvbanywhere.com.sg/cencvods3/_definst_/smil:ints3/tvboverseas-media/mytvsuper15/36526/3652595/mps_000002705861.smil/manifest.mpd: HTTP Error 403: Forbidden [generic] manifest: Downloading webpage ERROR: [generic] Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type yt-dlp -U to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
-
-
I'm surprised this thread hasn't been closed due to it violating forum rules about downloading video from a subscription site. It's interesting how some moderators overlook it and some don't, isn't that right johns0?
-
debugged the app and tried on Basic Free assuming VIPS are the same.
Show=Plan "B" Episode 4 (Content ID=4872519)
Widevine= https://int-wv.tvb.com/wvproxy/clicense?contentid=4872519 (PSSH NOT NEEDED)
MPD=https://sg04-vod-cfd.tvbanywhere.com.sg:443/cencvods3/_definst_/smil:ints3/tvboverseas-media/mytvsuper15/48726/4872519 /mps_4872519_mobile_auto.smil/manifest.mpd
Code:yt-dlp --allow-unplayable-format --external-downloader aria2c --add-header "cookie: CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKi9jZW5jdm9kczMvX2RlZmluc3RfL3NtaWw6aW50czMvdHZib3ZlcnNlYXMtbWVkaWEvbXl0dnN1cGVyMTUvNDg3MjYvNDg3MjUxOS9tcHNfNDg3MjUxOV9tb2JpbGVfYXV0by5zbWlsLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2MzQ3NDI4MzN9fX1dfQ__;CloudFront-Signature=fCqgh-Nj1hmZSLe9kOLoQp4gd2UorH9tRFKEaga9i2ZZ16GypfNxsBdaMHlLC4NgnWO1c9kLo2ObacxbdyWSqCmg-nfDjd7ttHgNpRmEsZ3kvol5PHq1CPYq8-0BFvMHrWjvnNfwgSgKvPNyb61ukpM4AKyciQxyIfIq3Ggq1dFUkXszbBXEevGn1hk7g-QjUTm2XE9OaOhi7xAAj1i8Nw7aZnLEynrnfmJhNCf3y1Sekule93TbRu2HxyoYyXPIoimwq~LVJ5bWXtu~ap3T2nLTQ2nZL4T4MbB9S8X~-Mod1-nGnLaZ5cW7X-nt8WqUBckO4q-3YBaCnFEdTHty7g__;CloudFront-Key-Pair-Id=APKAI57VHQVD6DKGLGMQ;" "https://sg04-vod-cfd.tvbanywhere.com.sg:443/cencvods3/_definst_/smil:ints3/tvboverseas-media/mytvsuper15/48726/4872519/mps_4872519_mobile_auto.smil/manifest.mpd"
KID:KEYS=a9ac582de18b12245f58b844dbd77a56:9a70ce2f 31eaf5b9281326dcdb053385
RESULTS
Downloaded File: https://siasky.net/EACwOuyp7YGbj3dlzl7-mxFZIS8WaovhaHXjaSB_A-fPFg
i think there is a possibility to download even Higher birates maybe but for now i did not investigate it further
MediaInfo
Code:General Complete name : C:\plan B episode 4.mp4 Format : MPEG-4 Format profile : Base Media Codec ID : isom (isom/iso2/avc1/mp41) File size : 409 MiB Duration : 41 min 49 s Overall bit rate mode : Variable Overall bit rate : 1 368 kb/s Writing application : Lavf58.68.100 Video ID : 1 Format : AVC Format/Info : Advanced Video Codec Format profile : High@L4.1 Format settings : CABAC / 5 Ref Frames Format settings, CABAC : Yes Format settings, Reference frames : 5 frames Codec ID : avc1 Codec ID/Info : Advanced Video Coding Duration : 41 min 49 s Bit rate mode : Variable Bit rate : 1 264 kb/s Maximum bit rate : 1 404 kb/s Width : 1 280 pixels Height : 720 pixels Display aspect ratio : 16:9 Frame rate mode : Constant Frame rate : 25.000 FPS Color space : YUV Chroma subsampling : 4:2:0 Bit depth : 8 bits Scan type : Progressive Bits/(Pixel*Frame) : 0.055 Stream size : 378 MiB (92%) Writing library : VOLO1.4.1 Language : English Codec configuration box : avcC Audio ID : 2 Format : AAC LC Format/Info : Advanced Audio Codec Low Complexity Codec ID : mp4a-40-2 Duration : 41 min 49 s Bit rate mode : Constant Bit rate : 96.0 kb/s Channel(s) : 2 channels Channel layout : L R Sampling rate : 48.0 kHz Frame rate : 46.875 FPS (1024 SPF) Compression mode : Lossy Stream size : 28.7 MiB (7%) Language : English Default : Yes Alternate group : 1
widevine= https://int-wv.tvb.com/wvproxy/clicense?contentid=3652595 (PSSH NOT NEEDED AGAIN)
Use These Keys with your mpd
KIDS:KEYS=a99f058682a248d875e231c74f407eb6:ba23297 2e580f9b9f718feda35d1d54aLast edited by notaghost; 19th Oct 2021 at 14:13.
discord=notaghost9997 -
I already successfully download the video and audio with your guide and thanks a lot for you. And I use mp4decrypt to decrypt the video and audio and merge them to be mkv file.
I have some questions =
1. what is this for https://int-wv.tvb.com/wvproxy/clicense?contentid=3652595??
and how you get KEYS = ba2329.... ? Please teach me, I tried widevine guesser in chrome and doesn't work.
2. I use this guide to download my video and success =
Code:yt-dlp --allow-unplayable-format --external-downloader aria2c --add-header "cookie: CloudFront-Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiKi9jZW5jdm9kczMvX2RlZmluc3RfL3NtaWw6aW50czMvdHZib3ZlcnNlYXMtbWVkaWEvbXl0dnN1cGVyMTUvNDg3MjYvNDg3MjUxOS9tcHNfNDg3MjUxOV9tb2JpbGVfYXV0by5zbWlsLyoiLCJDb25kaXRpb24iOnsiRGF0ZUxlc3NUaGFuIjp7IkFXUzpFcG9jaFRpbWUiOjE2MzQ3NDI4MzN9fX1dfQ__;CloudFront-Signature=fCqgh-Nj1hmZSLe9kOLoQp4gd2UorH9tRFKEaga9i2ZZ16GypfNxsBdaMHlLC4NgnWO1c9kLo2ObacxbdyWSqCmg-nfDjd7ttHgNpRmEsZ3kvol5PHq1CPYq8-0BFvMHrWjvnNfwgSgKvPNyb61ukpM4AKyciQxyIfIq3Ggq1dFUkXszbBXEevGn1hk7g-QjUTm2XE9OaOhi7xAAj1i8Nw7aZnLEynrnfmJhNCf3y1Sekule93TbRu2HxyoYyXPIoimwq~LVJ5bWXtu~ap3T2nLTQ2nZL4T4MbB9S8X~-Mod1-nGnLaZ5cW7X-nt8WqUBckO4q-3YBaCnFEdTHty7g__;CloudFront-Key-Pair-Id=APKAI57VHQVD6DKGLGMQ;" "https://sg04-vod-cfd.tvbanywhere.com.sg:443/cencvods3/_definst_/smil:ints3/tvboverseas-media/mytvsuper15/48726/4872519/mps_4872519_mobile_auto.smil/manifest.mpd"
Thanks a lot...Last edited by liongtwap; 22nd Oct 2021 at 08:06.
Similar Threads
-
Download encrypted video via DRM protected MPD manifest
By Beta2k in forum Video Streaming DownloadingReplies: 19Last Post: 15th Jan 2024, 11:47 -
Help Encrypted video mpd
By cedric8528 in forum Video Streaming DownloadingReplies: 6Last Post: 5th Sep 2021, 17:31 -
Download encrypted video via DRM protected MPD
By wondercheck in forum Video Streaming DownloadingReplies: 7Last Post: 4th Sep 2021, 11:59 -
Please help me download this video encrypted with Playready DRM from .mpd
By PescaGialla in forum Video Streaming DownloadingReplies: 6Last Post: 2nd Feb 2021, 13:23 -
Modifying MPD File to Download Decrypted Version of Encrypted Video
By JFK in forum Video Streaming DownloadingReplies: 5Last Post: 13th Apr 2020, 09:36