VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Results 1 to 25 of 25
Thread
  1. Member
    Join Date
    Apr 2024
    Location
    England
    Search Comp PM
    Hi there,

    Would someone kindly be able to help me with the code to download these videos please:

    1) https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-91/id-997993
    2) https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-111/id-1001009
    3) https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-84/id-997006
    I believe they should be free with vpn in certain countries.

    Many Thanks
    Quote Quote  
  2. Code:
    N_m3u8DL-RE -mt -M format=mkv --key 808c3a973c9043d3919f371f519513f9:2e10de6d82e774f2bd85047bac6d714d "https://cdxaws-ak.akamaized.net/out/v1/92b30d97836b4570ae9e270c6f90e4d6/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd?aws.manifestfilter=video_height:144-1080;video_codec:H264" --save-name "Ahlam Wa Domou' - Season 2 Episode 91 - Shahid"
    N_m3u8DL-RE -mt -M format=mkv --key eb8f90805ec24a4fae41f01846b3546f:74da56ce7fdddbf72ba40a8286e5d7b7 "https://cdxaws-ak.akamaized.net/out/v1/5757393e96d94b55a9d7672a5db01495/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd?aws.manifestfilter=video_height:144-1080;video_codec:H264" --save-name "Ahlam Wa Domou' - Season 2 Episode 111 - Shahid"
    N_m3u8DL-RE -mt -M format=mkv --key 24600f3eb6be4f20bab3ba11d2649b79:9186cc8f21d5f2db5cc8c494b6a298f5 "https://cdxaws-ak.akamaized.net/out/v1/44b130d555294d71b1ea92d44e1234b0/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd?aws.manifestfilter=video_height:144-1080;video_codec:H264" --save-name "Ahlam Wa Domou' - Season 2 Episode 84 - Shahid"
    Last edited by white_snake; 9th Jun 2024 at 16:41.
    Quote Quote  
  3. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Those videos are available in Dubai.
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/92b30d97836b4570ae9e270c6f90e4d6/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "997993" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 808c3a973c9043d3919f371f519513f9:2e10de6d82e774f2bd85047bac6d714d
    Code:
    N_m3u8DL-RE "https://mbc-aws-ksa.mncdn.com/out/v1/5757393e96d94b55a9d7672a5db01495/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "1001009" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key eb8f90805ec24a4fae41f01846b3546f:74da56ce7fdddbf72ba40a8286e5d7b7
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/44b130d555294d71b1ea92d44e1234b0/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "997006" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 24600f3eb6be4f20bab3ba11d2649b79:9186cc8f21d5f2db5cc8c494b6a298f5
    https://www.swisstransfer.com/d/c251d0a1-6d3f-4e21-8c6c-1c4aae5bfab2
    Last edited by aqzs; 9th Jun 2024 at 16:45.
    Quote Quote  
  4. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    removing "?aws.manifestfilter=video_height:144-720;video_codec:H264" from the mpd allow to download up to 1080p.
    Quote Quote  
  5. Originally Posted by aqzs View Post
    removing "?aws.manifestfilter=video_height:144-720;video_codec:H264" from the mpd allow to download up to 1080p.
    Yup, either that or editing the 720 to 1080.
    Quote Quote  
  6. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by white_snake View Post
    Originally Posted by aqzs View Post
    removing "?aws.manifestfilter=video_height:144-720;video_codec:H264" from the mpd allow to download up to 1080p.
    Yup, either that or editing the 720 to 1080.
    I just grab the mpd like that, I don't have to edit :
    HTML Code:
    data = requests.get(f'https://api2.shahid.net/proxy/v2.1/playout/new/url/{VIDID}').json()
    mpd_url = data['playout']['mediaUrls'][-1]['url']
    Quote Quote  
  7. Member
    Join Date
    Apr 2024
    Location
    England
    Search Comp PM
    Thank you so much guys! & yes, i did manage to download in 1080 by editing the 720 bit in the link
    Quote Quote  
  8. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Code:
    N_m3u8DL-RE "https://mbc-aws-ksa.mncdn.com/out/v1/6427a8ee1e7642b1ae695c7a9adca68c/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'.S02E54.1080p.WEB-DL" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key a76657fd6c7b4932812692b44c7fc368:2f1f951d05f313542e3112a358cf6fb6
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/d660bfceaa1a48e3aee743208ec2f074/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'.S02E105.1080p.WEB-DL" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 9d59b1b4a2ee46e4984af62b78900a21:0d0a41be0d4cb75a4aaf0550d17d5010
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/3501bd3b85964ffeb2a54a0302207807/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'.S02E45.1080p.WEB-DL" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key be8e51c6d2b74fdb805ef15751d25ebf:d6579aa65bf4805bc4d1652853abaa44
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/62957f71c4ae4f748379ec09c9bf62b2/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'.S02E71.1080p.WEB-DL" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key b33490aa1fff4d3ea45f659d7e1b0f25:2fd3a0a02050abd800e7cc9415f5c90a
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/77e3347418d54b6e950d853f97c7e33e/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'.S02E43.1080p.WEB-DL" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 4f98d4e097b042dcba8519034bef25eb:f94d5f23f78614fd654fbe5672e06fd4
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/d4b646d9e86d4ea3b43fb9810d9da333/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'.S02E83.1080p.WEB-DL" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key ebbe46ff714b429ebf836b4d8ab721f7:7bae98a3f458ff6451d04a5248782016

    Download link : https://www.swisstransfer.com/d/11364d9b-dcc6-4222-b233-1e892f377fa1
    Last edited by aqzs; 11th Jun 2024 at 11:35.
    Quote Quote  
  9. Member
    Join Date
    Apr 2024
    Location
    England
    Search Comp PM
    Thank you so much!
    Quote Quote  
  10. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-2/id-985058
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/4b95102b9fa346f7a559307e1eaf5c77/7bd08708120843ec82094592ed443dd8/c7352070ac68430b8a754384734b3ae9/index.m3u8?aws.manifestfilter=video_height:144-720;video_codec:H264" --save-name "Ahlam-Wa-Domou'-season-2-episode-2" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-44/id-991242
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/e977397292fd43b49919ab8488790f07/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'-season-2-episode-44" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 04f5b245bb68407088b8bb96ee7c2daf:19b925a41d9fb16d79f6bac5fbaf319a
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-55/id-992850
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/8fc6e8394fa74fe48a52ecddf082794d/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'-season-2-episode-55" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 2fb369bd5e314eb29d095c00d889e359:0b3efc76bdeeef94238a8af96ed3f262
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-72/id-995542
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/725ab48677c1479a8f37682a7757a50e/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'-season-2-episode-72" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key a73a8ea4ccbd4451a66dba655757504f:5cd9462b1f5705335acbfae503eb215d
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-97/id-999009
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/4f4883222e8e4672aebe5c482017106d/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'-season-2-episode-97" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 5e6508c7c4e646d7a9a5c5aa0865cdb8:d678cb8a4d020fc5f52d14546e4cbc11
    Quote Quote  
  11. anyone has experience to generate the authorization value in headers used to get license url? is it comes from android device or hidden js?
    Quote Quote  
  12. Originally Posted by shellcmd View Post
    anyone has experience to generate the authorization value in headers used to get license url? is it comes from android device or hidden js?
    Copy the curl and use curl converter. To get from android you can use Reqable app available in Play store.
    Quote Quote  
  13. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by shellcmd View Post
    anyone has experience to generate the authorization value in headers used to get license url? is it comes from android device or hidden js?
    This key is generated by : https://shahid.mbc.net/streaming-pages/_next/static/chunks/282-acc591af7055623c-fed.js, and this function in general : getDrm().

    The key is obtained with G.T(requestObject) with requestObject a json like that (991242 is the asset id of the one I'm debbuging) :
    HTML Code:
    {
        "request": "{\"assetId\":991242}",
        "ts": 1718610827044,
        "country": "AE"
    }
    G.T is this function :
    HTML Code:
    let d = e=>{
                let t = "z3qQSk17nbajIYUF0dU5f4+O/CxjFizcsEJr9ejOYFw=";
                if (t) {
                    let n = Object.keys(e);
                    n.sort();
                    let i = n.map(t=>"".concat(t, "=").concat(e[t])).join(";")
                      , o = a()(i, t)
                      , s = r().stringify(o);
                    return s
                }
                return ""
            }
    a is defined like that :
    a = n.n(o),
    o is defined like that :
    HTML Code:
    return function(t, n) {
       return new m.HMAC.init(e,n).finalize(t)
    }
    e is defined like this :
    HTML Code:
    c = a.SHA256 = o.extend({
                    _doReset: function() {
                        this._hash = new r.init(s.slice(0))
                    },
                    _doProcessBlock: function(e, t) {
                        for (var n = this._hash.words, i = n[0], r = n[1], o = n[2], a = n[3], s = n[4], c = n[5], d = n[6], h = n[7], f = 0; f < 64; f++) {
                            if (f < 16)
                                l[f] = 0 | e[t + f];
                            else {
                                var p = l[f - 15]
                                  , g = (p << 25 | p >>> 7) ^ (p << 14 | p >>> 18) ^ p >>> 3
                                  , m = l[f - 2]
                                  , v = (m << 15 | m >>> 17) ^ (m << 13 | m >>> 19) ^ m >>> 10;
                                l[f] = g + l[f - 7] + v + l[f - 16]
                            }
                            var y = s & c ^ ~s & d
                              , S = i & r ^ i & o ^ r & o
                              , E = (i << 30 | i >>> 2) ^ (i << 19 | i >>> 13) ^ (i << 10 | i >>> 22)
                              , b = h + ((s << 26 | s >>> 6) ^ (s << 21 | s >>> 11) ^ (s << 7 | s >>> 25)) + y + u[f] + l[f]
                              , T = E + S;
                            h = d,
                            d = c,
                            c = s,
                            s = a + b | 0,
                            a = o,
                            o = r,
                            r = i,
                            i = b + T | 0
                        }
                        n[0] = n[0] + i | 0,
                        n[1] = n[1] + r | 0,
                        n[2] = n[2] + o | 0,
                        n[3] = n[3] + a | 0,
                        n[4] = n[4] + s | 0,
                        n[5] = n[5] + c | 0,
                        n[6] = n[6] + d | 0,
                        n[7] = n[7] + h | 0
                    },
                    _doFinalize: function() {
                        var e = this._data
                          , n = e.words
                          , i = 8 * this._nDataBytes
                          , r = 8 * e.sigBytes;
                        return n[r >>> 5] |= 128 << 24 - r % 32,
                        n[(r + 64 >>> 9 << 4) + 14] = t.floor(i / 4294967296),
                        n[(r + 64 >>> 9 << 4) + 15] = i,
                        e.sigBytes = 4 * n.length,
                        this._process(),
                        this._hash
                    },
                    clone: function() {
                        var e = o.clone.call(this);
                        return e._hash = this._hash.clone(),
                        e
                    }
                }),
    Good luck reversing that part
    Last edited by aqzs; 17th Jun 2024 at 04:18.
    Quote Quote  
  14. thanks to all @Sagnik @aqzs , im not familar with js, so perhaps should give up. sad.
    Quote Quote  
  15. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by shellcmd View Post
    thanks to all @Sagnik @aqzs , im not familar with js, so perhaps should give up. sad.
    I have found a workaround, I add as many 'console.log(assettokey(999009));' I want in the script, it return me a dict like that :
    HTML Code:
    {
        "timestamp": 1718621454801,
        "assetid": 999009,
        "authkey": "4162c8510c24f148e11ea1e29ebd9151165fb88eea7917c29c567d83b96bc2a2"
    }
    I input this dict in a python script and get the download command :
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/4f4883222e8e4672aebe5c482017106d/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "999009" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 5e6508c7c4e646d7a9a5c5aa0865cdb8:d678cb8a4d020fc5f52d14546e4cbc11
    You can send a list of videos I'll send back commands if you want.
    Quote Quote  
  16. thanks aqzs, i dont need videos, just curious where that authorization comes from, it looks like beyond my knowledge.
    Quote Quote  
  17. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    As a POC I managed to get the download command of the 147 episodes of Ahlam-wa-doumou'-season-2. It took a lot of time since I had to do episodes 30 by 30 because of the timestamp expiring. I ran that on a low speed vpn with 300ping and up/down capped at 200KB/s..
    Image Attached Files
    Quote Quote  
  18. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Are all the videos from their site free if you have UAE ip?
    --[----->+<]>.++++++++++++.---.--------.
    [*Have questions about widefrog? You can find all your answers here*]
    Quote Quote  
  19. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Are all the videos from their site free if you have UAE ip?
    No :
    Image
    [Attachment 79957 - Click to enlarge]


    I don't know if you take a look at the function that handle HMAC hash but good luck implementing that in widefrog
    Quote Quote  
  20. Member
    Join Date
    May 2024
    Location
    Oslo
    Search PM
    As always good work and good findings @aqzs, nice with all this knowledge and effort from your side. Appreciated.
    Quote Quote  
  21. Feels Good Man 2nHxWW6GkN1l916N3ayz8HQoi's Avatar
    Join Date
    Jan 2024
    Location
    Pepe Island
    Search Comp PM
    Originally Posted by aqzs View Post
    No :
    Shame. Do you at least have a random full series (or half of it) free if you use UAE ip?

    Originally Posted by aqzs View Post
    I don't know if you take a look at the function that handle HMAC hash but good luck implementing that in widefrog
    Already solved. Will publish it in the next version when I'm pleased with the result. Currently checking the season/episodes API flow.
    --[----->+<]>.++++++++++++.---.--------.
    [*Have questions about widefrog? You can find all your answers here*]
    Quote Quote  
  22. Member aqzs's Avatar
    Join Date
    Mar 2024
    Location
    Paris
    Search Comp PM
    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Shame. Do you at least have a random full series (or half of it) free if you use UAE ip?
    I don't know, I got the all season 2 : https://shahid.mbc.net/fr/series/Ahlam-wa-doumou'-season-2/season-957882-984778

    Originally Posted by 2nHxWW6GkN1l916N3ayz8HQoi View Post
    Already solved. Will publish it in the next version when I'm pleased with the result. Currently checking the season/episodes API flow.
    Impressive ! I'm waiting for next release !!
    Quote Quote  
  23. Member
    Join Date
    Apr 2024
    Location
    England
    Search Comp PM
    Originally Posted by aqzs View Post
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-2/id-985058
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/4b95102b9fa346f7a559307e1eaf5c77/7bd08708120843ec82094592ed443dd8/c7352070ac68430b8a754384734b3ae9/index.m3u8?aws.manifestfilter=video_height:144-720;video_codec:H264" --save-name "Ahlam-Wa-Domou'-season-2-episode-2" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-44/id-991242
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/e977397292fd43b49919ab8488790f07/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'-season-2-episode-44" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 04f5b245bb68407088b8bb96ee7c2daf:19b925a41d9fb16d79f6bac5fbaf319a
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-55/id-992850
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/8fc6e8394fa74fe48a52ecddf082794d/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'-season-2-episode-55" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 2fb369bd5e314eb29d095c00d889e359:0b3efc76bdeeef94238a8af96ed3f262
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-72/id-995542
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/725ab48677c1479a8f37682a7757a50e/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'-season-2-episode-72" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key a73a8ea4ccbd4451a66dba655757504f:5cd9462b1f5705335acbfae503eb215d
    https://shahid.mbc.net/en/player/episodes/Ahlam-Wa-Domou'-season-2-episode-97/id-999009
    Code:
    N_m3u8DL-RE "https://cdxaws-ak.akamaized.net/out/v1/4f4883222e8e4672aebe5c482017106d/22166333d51a4d528478144cc30fc048/65aee16b2775429e8add39c54f7b6995/index.mpd" --save-name "Ahlam-Wa-Domou'-season-2-episode-97" --select-video best --select-audio best --select-subtitle all -mt -M format=mkv  --log-level OFF --key 5e6508c7c4e646d7a9a5c5aa0865cdb8:d678cb8a4d020fc5f52d14546e4cbc11
    thank you so much!
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!