VideoHelp Forum




+ Reply to Thread
Results 1 to 15 of 15
  1. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    This is a set of STV downloaders that will get series of videos or just a single. The two scripts work in conjunction or alone. The set consists of a 'loader', that finds all available videos from a 'summary' url link - 110 videos for Taggart or 2 for Rosemary's Baby, and a 'getter' that does the business of downloading.

    Image
    [Attachment 73970 - Click to enlarge]

    Opening screen.

    Image
    [Attachment 73971 - Click to enlarge]

    Search results

    Image
    [Attachment 73972 - Click to enlarge]

    selecting download





    The' getter' can be used on its own with single 'episode' urls.



    Code:
    pip install -r  requirements.txt
    will install all the modules,you will need - hopefully.

    Pywidevine or WKS-KEYS
    A small quantity of STV's output is encrypted. You can still use these scripts for downloading non-encrypted material without a CDM. But with a Content Decryption Module - either Pywidevine or WKS-KEYS - you can successfully download and decrypt. If using Pywidevine as your key provider DO NOT place the scripts in the WKS-KEYS folder.

    The scripts
    https://files.videohelp.com/u/301890/stv_files.zip

    I post these scripts in the hope they will be of use to those who already understand how to use them.
    Last edited by A_n_g_e_l_a; 22nd Sep 2023 at 04:40. Reason: Updated code; tweaked interface
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  2. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Some bugs fixed:
    1. A few single-video one-off programmes failed to download as curation does not follow standard procedure. Added an alternative path.
    2. Database saving error; Despite testing with Rosemary's Baby, apostrophes in text later managed to cause a database save error, now corrected.
    Remaining bugs
    1. DRM Videos from Banjay only list series 1 in the loader. Series 2 ... etc. may still be downloaded as single videos. Still investigating.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  3. Banned
    Join Date
    Apr 2022
    Location
    Hong Kong
    Search Comp PM
    Excellent script. Thanks for your dedicated work.
    Quote Quote  
  4. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    How kind. Thank you.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  5. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    A site search function on multi-keywords or phrase has now been added. A phrase search should be quoted.
    And an annoying error which prevented series episodes after series 1 being listed, is now corrected.

    I'm sure there are other bugs. if you can reproduce an error when using sane inputs - post the error here.
    Last edited by A_n_g_e_l_a; 15th Sep 2023 at 04:53.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  6. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    At the risk of incurring the wrath of Angela, I tried the latest script but this error was thrown up.

    Code:
    [info] Preparing to download ...
    Traceback (most recent call last):
      File "D:\angela-stv\stv_loader.py", line 325, in <module>
        stv.entrypoint(str(result))
      File "D:\angela-stv\stvgetter.py", line 262, in entrypoint
        get_stage_one_data(client,videoid, seriesguid, guid, DRM)
      File "D:\angela-stv\stvgetter.py", line 230, in get_stage_one_data
        videoname, manifest, folder = get_stage_two_no_drm(videoid)
                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "D:\angela-stv\stvgetter.py", line 116, in get_stage_two_no_drm
        videoname = myjson['name']
                    ~~~~~~^^^^^^^^
    TypeError: list indices must be integers or slices, not str
    Using WKS-KEYS and here is folder structure for the CDM

    Code:
    D:\angela-stv\pywidevine\L3\cdm
    Running on a VPN though.

    STV URL is this.
    Code:
    https://player.stv.tv/summary/rugby-world-cup
    Script presents all the episodes. Deselected all bar the first one (Wales vs Fiji)
    Quote Quote  
  7. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sipho View Post
    At the risk of incurring the wrath of Angela, I tried the latest script but this error was thrown up.
    Script presents all the episodes. Deselected all bar the first one (Wales vs Fiji)
    Wrath of Angela? Is that like the Wrath of Khan? And where is it on?

    Seriously; I cannot reproduce your error.
    Image
    [Attachment 73814 - Click to enlarge]

    I have uploaded the files to here. Maybe an error crept in copying & pasting?
    https://files.videohelp.com/u/301890/stv_loader.py
    https://files.videohelp.com/u/301890/stvgetter.py
    Last edited by A_n_g_e_l_a; 15th Sep 2023 at 07:27.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  8. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Thank you Angela. It must be related to my VPN because when I switch it off it starts to download but I get this message.

    Code:
    ERROR: Download first segment failed!
    So nothing with your script. Thank you though!
    Quote Quote  
  9. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sipho View Post
    Thank you Angela. It must be related to my VPN because when I switch it off it starts to download but I get this message.

    Code:
    ERROR: Download first segment failed!
    So nothing with your script. Thank you though!
    That's annoying. VPN is a pain.

    If you take a url that is listed as a result, either of your video-search or 'summary' input, check to see if yt-dlp can do the download over your VPN. If it succeeds you could remove N_m3u8DL-RE as the script downloader and use yt-dlp instead.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  10. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    I experimented with various VPN protocols and eventually one worked. I have a batch file that uses yt-dlp and that grabs STV stuff without a problem. Not encrypted videos though.

    I'll look at making the change you suggested. Thanks for the input.
    Quote Quote  
  11. Thanks for the great script Angela, it works really well. Thanks again for your hard work.
    Quote Quote  
  12. Member
    Join Date
    Dec 2021
    Location
    Scotland
    Search Comp PM
    FFS, Dannyboi's become famous. He's become a part of a python script arrgghh
    Quote Quote  
  13. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by sipho View Post
    I experimented with various VPN protocols and eventually one worked. I have a batch file that uses yt-dlp and that grabs STV stuff without a problem. Not encrypted videos though.

    I'll look at making the change you suggested. Thanks for the input.
    This may be relevant. https://forum.videohelp.com/threads/409051-STV-a-VPN-that-works-with-it
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  14. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    Originally Posted by A_n_g_e_l_a View Post
    Thank you.
    Quote Quote  
  15. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Updated interface to match the recent more user-friendly ITV Revisited version.
    Tweaked code to show series numbers where needed. Ctrl + C will bail out gracefully at program-waits. 'Escape' will move from search to manual input.
    The database is no longer saved temporarily to disk; it resides in memory until program end.
    updated Zip file at post #1
    Last edited by A_n_g_e_l_a; 22nd Sep 2023 at 05:34.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  



Similar Threads

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