VideoHelp Forum




+ Reply to Thread
Results 1 to 25 of 25
  1. Great work as always, Diazole. Nice to see you're still around showing the rest of us how it's done
    Quote Quote  
  2. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Very clever.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  3. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    By default the script selects the audio description track. To cure it, alter line 230 to this "bv,wa".
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  4. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Brilliant, thank you. Now I just need to fiddle with the script to use n_m3u8 but it works like a bomb.
    Quote Quote  
  5. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by A_n_g_e_l_a View Post
    By default the script selects the audio description track. To cure it, alter line 230 to this "bv,wa".
    Ch5 'seems' to have settled on stream #10 for the normal audio track now.
    Quote Quote  
  6. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Almost finished a loader for it - so multiple series downloads are possible.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  7. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Using n_m3u8? That would be awesome!
    Quote Quote  
  8. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sipho View Post
    Using n_m3u8? That would be awesome!
    Not at this stage. Just a quick and dirty front end to Diazole's work. I just added an entry point for an import . It works well enough, although slower than N_m3u8DL-RE.

    Live now.
    https://forum.videohelp.com/threads/411726-My5-paying-a-visit
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  9. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by A_n_g_e_l_a View Post
    Not at this stage. Just a quick and dirty front end to Diazole's work. I just added an entry point for an import . It works well enough, although slower than N_m3u8DL-RE.

    Live now.
    https://forum.videohelp.com/threads/411726-My5-paying-a-visit
    No probs. I'm testing your script now. I already added aria2c as the downloader which makes it a lot faster.

    There is a bug in Diazole's script though.

    Episode output is this
    Code:
    Murder.In.The.First.S01EThe.City.of.Sisterly.Love
    and should be this
    Code:
    Murder.In.The.First.S01E02.The.City.of.Sisterly.Love
    Quote Quote  
  10. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sipho View Post
    Originally Posted by A_n_g_e_l_a View Post
    Not at this stage. Just a quick and dirty front end to Diazole's work. I just added an entry point for an import . It works well enough, although slower than N_m3u8DL-RE.

    Live now.
    https://forum.videohelp.com/threads/411726-My5-paying-a-visit
    No probs. I'm testing your script now. I already added aria2c as the downloader which makes it a lot faster.

    There is a bug in Diazole's script though.

    Episode output is this
    Code:
    Murder.In.The.First.S01EThe.City.of.Sisterly.Love
    and should be this
    Code:
    Murder.In.The.First.S01E02.The.City.of.Sisterly.Love
    Its not strictly a bug. its what he asked for in code. I think the variable is episodeTitle and the code makes no mention of episode number - although it is available.

    I did have a quick look earlier and will see I i can add it in to my variation of OP's code. I've also found an outlier which returns no data. It breaks my loader and it breaks Diazole's code too. https://www.channel5.com/show/agatha-christie-s-crooked-house is the offending title.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  11. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Call it a creepy crawly if you like.
    Quote Quote  
  12. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Still seems to miss subtitles.

    Tried it with this once off show.

    Finds the subtitle though.

    Code:
    [SUBTITLES URL]
    https://akadash0.akamaized.net/hydra/C5316420001/C5316420001A/20230202064631/C5316420001_subtitles.mpd
    The link that it spat out works fine if you paste it into a browser.

    This line seems to indicate that it's true by default so should download?
    Code:
    dl_subtitles: bool,
    It's not all though.
    Quote Quote  
  13. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  14. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Here is a utility to update the config file in my5-dl-main/ with current values for HMAC_SECRET and AES_KEY. I am told they change about every 8 days. The script here will find the current version by running retrieve_keys.html locally, then scraping the result and over-writing parts of config.py.

    You will need to download a Firefox binary - details in the head of the file. Also you will need to edit file paths within the script to suit your locations. You should make a back-up of config.py before starting any edits.

    https://files.videohelp.com/u/301890/hmac-aes-update.py Ideally one would run cron daily to keep updated - if you download from My5 a lot.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  15. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    And the HMAC and AES key changed yesterday as luck would have it.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  16. Thanks for this Angela. I've just run it and it works fine for me.

    As I'm on windows I had to change line 14 where it looks for the retrieve-keys.html file to :

    LOCATION_RETRIEVE_KEYS_HTML = r"file:c:\chan4\keys\retrieve-keys.html"

    Just thought I'd mention it in case other people have problems in windows.
    I've also added a Task Scheduler to run it every morning and that also works fine.
    Last edited by peterb999; 3rd Oct 2023 at 19:41.
    Quote Quote  
  17. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by peterb999 View Post
    Thanks for this Angela. I've just run it and it works fine for me.

    As I'm on windows I had to change line 14 where it looks for the retrieve-keys.html file to :

    LOCATION_RETRIEVE_KEYS_HTML = r"file:c:\chan4\keys\retrieve-keys.html"

    Just thought I'd mention it in case other people have problems in windows.
    I've also added a Task Scheduler to run it every morning and that also works fine.
    Thanks Peter, raw string works on linux too. I plan bug-fix and modification of program escapes so will add the hmac-eas-update.py changes to the new release.
    Last edited by A_n_g_e_l_a; 4th Oct 2023 at 06:06.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  18. Anyone able to help me generate my WVD file I see we need to generate i using this

    https://github.com/devine-dl/pywidevine

    But past that im a bit lost. Any help here or in Dm's would be great.
    Quote Quote  
  19. I don't really understand what your problem is.

    Is it on how to extract the CDM files that you need to build a WVD file from an Android device? => https://forum.videohelp.com/threads/408031-Dumping-Your-own-L3-CDM-with-Android-Studio and https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom
    Is it on how to build a WVD file from the extracted CDM files? => https://forum.videohelp.com/threads/404994-Decryption-and-the-Temple-of-Doom (search for "create a wvd file by hand" in the start post of this thread)
    Is it on how to use "Devine"? => https://forum.videohelp.com/threads/414154-Devine-Modular-Movie-TV-and-Music-Archival-Software and ask your specific question there
    If all you need is a ready to use CDM: => https://forum.videohelp.com/threads/413719-Ready-to-use-CDMs-available-here%21 - the linked CDMs.zip in that post contains ready to use WVD files.

    The sticky threads in this forum are a great source of information. Read them - at least the starting posts.
    Quote Quote  
  20. Thanks for the links will check them out, i think i very much under estimated the work but now i have lots to read and i have learnt

    Click image for larger version

Name:	9cg4s1.jpg
Views:	32
Size:	57.5 KB
ID:	83877
    Quote Quote  
  21. Thanks for not kicking me out for my question last time. I think i have made it as far as i can.

    Im running mac os on apple silicon. I made it this far but i'm stuck with an error 'Temp file is not the default'

    alexsafe@Alexs-Virtual-Machine my5-dl-main % python /Users/alexsafe/Documents/my5-dl-main/my5-dl.py --download --url "https://www.channel5.com/show/thomas-friends/season-17/kevin-s-cranky-friend" [*] Generating the episode URL...[*] Getting the encrypted content info...[*] Generating the content URL...[*] Getting content response...[*] Decrypting the content response...
    ************************************************** ************************************************** ************************************************** **************************************************
    [LICENSE URL]
    https://cassie.channel5.com/api/v2/licences/widevine/491/C5168520001?expiryremoved3030303535336136
    ************************************************** ************************************************** ************************************************** **************************************************
    [MPD URL]
    https://akadash0.akamaized.net/hydra/removed/20230127130854/C5168520001.mpd
    ************************************************** ************************************************** ************************************************** **************************************************
    [SUBTITLES URL]
    https://akadash0.akamaized.net/hydra/removed/C5168520001_subtitles.mpd
    ************************************************** ************************************************** ************************************************** **************************************************[*] Extracting PSSH from MPD...[*] Getting decryption keys...
    ************************************************** ************************************************** ************************************************** **************************************************
    [KEY]
    bf371c5629de4688..remove..96fc0a7fb69ea983d8c9239
    ************************************************** ************************************************** ************************************************** **************************************************
    [KEY]
    97975861fdd218f..removed.b8a196fc0a7fb69ea983d8c92 39
    Temp file is not the default
    My config settings are

    # Configurable
    HMAC_SECRET = "IFaFksClremovedRfEaRmw=="
    AES_KEY = "TS7DIremovedJzCjPjfMw=="
    WVD_PATH = "/Volumes/My Shared Files/junk/l3keydump/WVD/unknown_android_sdk_built_for_arm64_14.0.0_015651b 7_7283_l3.wvd"
    DOWNLOAD_DIR = "/Volumes/My Shared Files/junk/my5"
    TMP_DIR = "/Volumes/My Shared Files/junk/my5/tmp"
    BIN_DIR = "./bin"
    USE_BIN_DIR = False

    Ive installed all the requirements. Any ideas ? Im wondering if i need to enter the paths differently as its not windows.

    Thanks everyone
    Quote Quote  
  22. Looks like this is due to some silly decision by Diazole:

    Code:
    def delete_temp_files() -> None:
        if TMP_DIR != "./tmp":
            print("Temp file is not the default")
            sys.exit()
    Even if you can define your own TMP_DIR the script doesn't allow to use it. I'd remove lines 54-56 from utility.py. Or restore TMP_DIR in config.py to the original value.

    Other than that: you've already got the keys, the next step is to download the video using yt-dlp.
    Quote Quote  
  23. Amazing that 'trick' worked, thanks so much
    Quote Quote  



Similar Threads

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