VideoHelp Forum
+ Reply to Thread
Results 1 to 27 of 27
Thread
  1. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Here is a my5 loader allowing search and select for single episodes series or multiple series.
    Updated 26/09/2023 https://files.videohelp.com/u/301890/my5_update.zip

    Install Diazole's my5-dl package from https://github.com/Diazole/my5-dl

    Follow instruction on github and make sure you have all Diazole's software running properly.

    Then extract the zip, linked above, INTO the same folder as Diazole's my5-dl.py.

    run pip install -r requirements.txt and then you should be set.

    py my5_loader.py runs the script.
    Image
    [Attachment 74015 - Click to enlarge]

    search

    Image
    [Attachment 74016 - Click to enlarge]



    Image
    [Attachment 74017 - Click to enlarge]

    select and download ( yes that's series 25 and episode numbers!)

    Image
    [Attachment 74018 - Click to enlarge]

    downloading with modified version for Diazole's my5-dl
    Last edited by A_n_g_e_l_a; 26th Sep 2023 at 10:47. Reason: Updated files
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  2. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    off to test, thank you.
    Quote Quote  
  3. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    One thing, perhaps rename your requirements.txt to requirements-angela.txt.
    Quote Quote  
  4. Do not send me DM's
    Join Date
    Dec 2021
    Location
    Tórshavn
    Search Comp PM
    Originally Posted by sipho View Post
    One thing, perhaps rename your requirements.txt to requirements-angela.txt.
    Why? Are you not running the python scripts in isolated environments, as per python recommendation?

    python3 -m venv env
    source env/bin/activate

    or if you're a windows user

    py -m venv env
    .\env\Scripts\activate

    See here for more details.
    https://packaging.python.org/en/latest/guides/installing-using-pip-and-virtual-environments/
    Quote Quote  
  5. Does anyone else get the following error when trying to download a movie?

    Code:
    my5_loader.py
         __  ___     ____
        /  |/  /_ __/ __/
       / /|_/ / // /__ \
      /_/  /_/\_, /____/
             /___/
    
    A My5 Video Search, Selector and Downloader.
    
    
    Search word(s)?    american gangster
    [info] getting data for American-Gangster
    [info] No series of that number found. Exiting. Check and try again.
    Quote Quote  
  6. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Jawz22 View Post
    Does anyone else get the following error when trying to download a movie?
    Yes. I've spotted it. Had the same error with this film https://www.channel5.com/show/agatha-christie-s-crooked-house. There is a mis-match with how My5 treats Films compared to normal stuff.

    Also if you use Diazoles script directly with your URL it will probably download but not save.

    I'll look at my part of the code in the morning.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  7. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by Sorenb View Post

    Why? Are you not running the python scripts in isolated environments, as per python recommendation?
    Yes I am but there is already a requirements.txt in that folder.
    Quote Quote  
  8. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sipho View Post
    Originally Posted by Sorenb View Post

    Why? Are you not running the python scripts in isolated environments, as per python recommendation?
    Yes I am but there is already a requirements.txt in that folder.
    After you've run pip install -r requirements.txt you can safely remove requirements.txt
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  9. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    I had to change some code to get the episode to be recognised by various renamers.

    Code:
    f"{show_name} S{season_number}.{episode_title}".split()
    If a show doesn't return an episode title then the original code like this works perfectly.

    Code:
    f"{show_name} S{season_number}E{episode_title}".split()
    I also noticed your script doesn't download subtitles? It lists them in the beginning though.

    This show was used to test stuff today.

    Code:
    https://www.channel5.com/show/british-planes-that-won-the-war
    Quote Quote  
  10. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sipho View Post
    I had to change some code to get the episode to be recognised by various renamers.

    Code:
    f"{show_name} S{season_number}.{episode_title}".split()
    If a show doesn't return an episode title then the original code like this works perfectly.

    Code:
    f"{show_name} S{season_number}E{episode_title}".split()
    I also noticed your script doesn't download subtitles? It lists them in the beginning though.

    This show was used to test stuff today.

    Code:
    https://www.channel5.com/show/british-planes-that-won-the-war
    Yes, but some shows have an episodeTitle AND an episodeNumber. And you need both to know the sequence to view the episodes. That's my problem for today.

    You are quite right subs are not downloaded. I thought they were being embedded. fix coming.
    Last edited by A_n_g_e_l_a; 25th Sep 2023 at 04:58.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  11. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by A_n_g_e_l_a View Post

    You are quite right subs are not downloaded. I thought they were being embedded. fix coming.
    Please allow an option to just keep them separate and not muxed. If possible of course.

    You could either create your own config file and include the subs mux choice in that file or add it after the config_import in your mygetter.py file but then it gets messy.
    Quote Quote  
  12. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    find def main(url) in my5getter.py
    4 line down
    def main(url):



    dl_subtitles = False # just set to True! And they embed and save. I'm not changing that. Bells and whistles come after the functionality is correct.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  13. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Jawz22 View Post
    Does anyone else get the following error when trying to download a movie?

    Code:
    my5_loader.py
         __  ___     ____
        /  |/  /_ __/ __/
       / /|_/ / // /__ \
      /_/  /_/\_, /____/
             /___/
    
    A My5 Video Search, Selector and Downloader.
    
    
    Search word(s)?    american gangster
    [info] getting data for American-Gangster
    [info] No series of that number found. Exiting. Check and try again.
    Updated zip download at #1 fixes the single download issue. Tested on American Gangster and others. Now working fine.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  14. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Sorry Chaps, that last update 5 minutes ago had a bug that somehow had crept in during edits. Now corrected at #1

    There are still issues I'm working on but the failure to download single titles was an important correction. Series list displays the last series only, presently. And episode title sometimes needs a number. Work in progress..
    Last edited by A_n_g_e_l_a; 25th Sep 2023 at 08:11.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  15. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Fixed the episode title to add an episode number; works with the narrow range I've tested but I'm sure there will be other anomalies.
    However that really is for Diazole to fix as it is a fundamental part of his code.

    Also I will not be adding N_mu8DL-RE as the downloader. Too much stuff is dependent on the whole structure of the code which tends to prevent small changes without a massive rewrite. So not going to be me. Besides its nice to slow down again and remember the olden days with yt-dlp and mp4decrypt and ffmpeg to merge.

    This looks to be it with the code fully functional now. Single movie titles work, episode number gets inserted and series numbers for selecting which to download are now correctly listed..
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  16. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    My5 have changed the HMAC and AES keys. You can update again by visiting the web-page you used to set-up Diazole's code initially and replacing in config.py
    Last edited by A_n_g_e_l_a; 25th Sep 2023 at 11:12.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  17. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Jawz22 View Post
    Does anyone else get the following error when trying to download a movie?

    Code:
    my5_loader.py
         __  ___     ____
        /  |/  /_ __/ __/
       / /|_/ / // /__ \
      /_/  /_/\_, /____/
             /___/
    
    A My5 Video Search, Selector and Downloader.
    
    
    Search word(s)?    american gangster
    [info] getting data for American-Gangster
    [info] No series of that number found. Exiting. Check and try again.
    Updated zip download at #1 fixes the single download issue. Tested on American Gangster and others. Now working fine.
    Thank you Just curious did you download the movie too? I seem to get an unplayable mp4 file, and when you open the subtitles it appears to be the mainfest?
    Image
    [Attachment 74033 - Click to enlarge]
    Last edited by Jawz22; 25th Sep 2023 at 11:25.
    Quote Quote  
  18. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Jawz22 View Post

    Thank you Just curious did you download the movie too? I seem to get an unplayable mp4 file, and when you open the subtitles it appears to be the mainfest?
    Strange one.Yes I did download American Gangster. Tried to play it just now and VLC won't. I downloaded About Time at the same, er, time and that plays just fine? Something happening in decryption for Diazole to sort out methinks. You've updated your HMAC and AES keys to today's values?

    Managed to download it using the Diazole quoted mpd and license url using my old my5 downloader. I trimmed the mpd to https://akadash0.akamaized.net/hydra/C5436860001/C5436860001C/20230902010250/C5436860001.mpd and it plays. Not sure its a key error as the keys were the same. Although KID different.
    Last edited by A_n_g_e_l_a; 25th Sep 2023 at 12:17.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  19. You've updated your HMAC and AES keys to today's values?
    Yeah updated the HMAC and AES keys, but not to worry was just testing your code

    But like you, I downloaded both American Gangster and About Time. About Time Works but American Gangster doesn't.
    Last edited by Jawz22; 25th Sep 2023 at 13:03. Reason: more info
    Quote Quote  
  20. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Jawz22 View Post
    You've updated your HMAC and AES keys to today's values?
    Yeah updated the HMAC and AES keys, but not to worry was just testing your code

    But like you, I downloaded both American Gangster and About Time. About Time Works but American Gangster doesn't.
    Found the work around!!

    Diazole's code is picking up the wrong subtitles file - an mpd -
    Image
    [Attachment 74035 - Click to enlarge]

    so when that gets muxed in it ruins the download which was all fine up 'til then.

    The work around is to switch off subtitles at the top of the main(url) function.

    Image
    [Attachment 74037 - Click to enlarge]
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  21. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Jawz22 View Post
    You've updated your HMAC and AES keys to today's values?
    Yeah updated the HMAC and AES keys, but not to worry was just testing your code

    But like you, I downloaded both American Gangster and About Time. About Time Works but American Gangster doesn't.
    Found the work around!!

    Diazole's code is picking up the wrong subtitles file - an mpd -
    Image
    [Attachment 74035 - Click to enlarge]

    so when that gets muxed in it ruins the download which was all fine up 'til then.

    The work around is to switch off subtitles at the top of the main(url) function.

    Image
    [Attachment 74037 - Click to enlarge]
    Thank you for your hard work
    Quote Quote  
  22. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Updated to avoid the need for the above workaround switching subs off and on.

    Diazole's code: Recent updates there are an improvement but some titles fail to download.
    eg https://www.channel5.com/smithsonian-spotlight-transforming-america-s-history
    Last edited by A_n_g_e_l_a; 26th Sep 2023 at 11:33.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  23. Just got round to trying out this script. Once again, really great script, works like a dream. Thanks Angela
    Quote Quote  
  24. This looks awesome, thanks! I have one question, where do I get the WVD file that it needs?
    Quote Quote  
  25. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Wilkies View Post
    where do I get the WVD file that it needs?
    Search not working for you? I found this https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS and it seems the first post has some stuff on 'finding' a WVD - who'd have thought it - all answers available just for the want of a search?

    I also don't think this script is working any longer.... best search for UK-FTA and use my5 in that.
    Last edited by A_n_g_e_l_a; 14th Feb 2024 at 07:56.
    Noob Starter Pack. Just download everything DRM Not kidding!.
    https://files.videohelp.com/u/301890/hellyes2.zip
    Quote Quote  
  26. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Wilkies View Post
    where do I get the WVD file that it needs?
    Search not working for you? I found this https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS and it seems the first post has some stuff on 'finding' a WVD - who'd have thought it - all answers available just for the want of a search?

    I also don't think this script is working any longer.... best search for UK-FTA and use my5 in that.
    Thanks! I genuinely had no clue what to search for/where to start.

    The scripts worked a charm. Got my CDM and WDV file, currently downloading from my5 now

    EDIT: It has downloaded the audio description and muxed that over the show audio. Any way to stop it doing that?
    Last edited by Wilkies; 14th Feb 2024 at 10:16. Reason: Additional info
    Quote Quote  
  27. Originally Posted by Wilkies View Post
    Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Wilkies View Post
    where do I get the WVD file that it needs?
    Search not working for you? I found this https://forum.videohelp.com/threads/411862-Beyond-WKS-KEYS and it seems the first post has some stuff on 'finding' a WVD - who'd have thought it - all answers available just for the want of a search?

    I also don't think this script is working any longer.... best search for UK-FTA and use my5 in that.
    Thanks! I genuinely had no clue what to search for/where to start.

    The scripts worked a charm. Got my CDM and WDV file, currently downloading from my5 now

    EDIT: It has downloaded the audio description and muxed that over the show audio. Any way to stop it doing that?
    Depends on the mpd/m3u8 file and the program you're using to download. If you don't even provide these basic info, you can't expect people to help you.
    Quote Quote  



Similar Threads

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