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.
[Attachment 73970 - Click to enlarge]
Opening screen.
[Attachment 73971 - Click to enlarge]
Search results
[Attachment 73972 - Click to enlarge]
selecting download
The' getter' can be used on its own with single 'episode' urls.
will install all the modules,you will need - hopefully.Code:pip install -r requirements.txt
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.
+ Reply to Thread
Results 1 to 15 of 15
-
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 -
Some bugs fixed:
- A few single-video one-off programmes failed to download as curation does not follow standard procedure. Added an alternative path.
- Database saving error; Despite testing with Rosemary's Baby, apostrophes in text later managed to cause a database save error, now corrected.
- 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 -
How kind. Thank you.
Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
https://files.videohelp.com/u/301890/hellyes6.zip -
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 -
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
Code:D:\angela-stv\pywidevine\L3\cdm
STV URL is this.
Code:https://player.stv.tv/summary/rugby-world-cup
-
Wrath of Angela? Is that like the Wrath of Khan? And where is it on?
Seriously; I cannot reproduce your error.
[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.pyLast 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 -
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!
-
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 -
Thanks for the great script Angela, it works really well. Thanks again for your hard work.
-
FFS, Dannyboi's become famous. He's become a part of a python script arrgghh
-
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 -
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 #1Last 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
Similar Threads
-
download stv player videos without login
By barry25 in forum Video Streaming DownloadingReplies: 4Last Post: 11th Jun 2023, 05:27 -
need to download videos from stv player site
By barry25 in forum Video Streaming DownloadingReplies: 1Last Post: 10th Jun 2023, 05:31 -
STV - a VPN that works with it?
By ampersand in forum Video Streaming DownloadingReplies: 11Last Post: 25th Mar 2023, 10:51 -
Download STV World Cup Replay...
By ooo.aragakiyui.ooo in forum Video Streaming DownloadingReplies: 3Last Post: 11th Oct 2021, 08:10 -
Download videos from STV Player
By onchunandrew in forum Video Streaming DownloadingReplies: 2Last Post: 25th Jun 2021, 10:08