VideoHelp Forum



Support our site by donate $5 directly to us Thanks!!!

Try StreamFab Downloader and download streaming video from Netflix, Amazon!



+ Reply to Thread
Page 48 of 54
FirstFirst ... 38 46 47 48 49 50 ... LastLast
Results 1,411 to 1,440 of 1599
  1. Originally Posted by the-equalizer View Post
    Requirements:
    Firefox
    selenium

    selenium more info:
    h**ps://pypi.org/project/selenium/
    Basically to install: pip install selenium

    Installation:
    Move the two files into freevine>Services>channel5 directory.
    Overwrite channel5.py

    open channel5.py with a notepad (or text editor) and
    edit line 54:
    LOCATION_RETRIEVE_KEYS_HTML = r"file:///mnt/Edrive/portable/freevine/services/channel5/retrieve-keys.html"
    This is my linux version and points to where the retrieve-keys.html (which you have just copied) is stored.
    Here is a windows example:
    LOCATION_RETRIEVE_KEYS_HTML = r"file:///C:/freevine/services/channel5/retrieve-keys.html"
    This MUST be correct or it will throw an error.

    Done. Use freevine as usual.
    Thanks, tested takes a while longer on the first run maybe but works
    Quote Quote  
  2. Originally Posted by the-equalizer View Post
    Requirements:
    Firefox
    selenium

    selenium more info:
    h**ps://pypi.org/project/selenium/
    Basically to install: pip install selenium

    Installation:
    Move the two files into freevine>Services>channel5 directory.
    Overwrite channel5.py

    open channel5.py with a notepad (or text editor) and
    edit line 54:
    LOCATION_RETRIEVE_KEYS_HTML = r"file:///mnt/Edrive/portable/freevine/services/channel5/retrieve-keys.html"
    This is my linux version and points to where the retrieve-keys.html (which you have just copied) is stored.
    Here is a windows example:
    LOCATION_RETRIEVE_KEYS_HTML = r"file:///C:/freevine/services/channel5/retrieve-keys.html"
    This MUST be correct or it will throw an error.

    Done. Use freevine as usual.

    Works perfectly thank you! Currently catching up with the s11 episodes of BLBITS I've missed since it stopped working
    Quote Quote  
  3. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by stabbedbybrick View Post

    What I'm mostly curious about is how you manage to use the slow horribleness that is selenium to fetch the keys in 3 seconds?
    Takes me about 7 seconds. As I suggest elsewhere setting a cron job to do it once or twice a week might be a good idea; then you could forget it. I've published the stand-alone python script somewhere.
    Yeah, I had everything automated. There's no way I'd remember keeping it up otherwise.

    Even under the best circumstances, using selenium to fetch the keys and pushing them to github with git took 15-20 seconds. Whereas with Playwright, I cut that down to 8 seconds (with sleep) on a tired little laptop. It doesn't really matter if you're just using it to update once in a while, but to use selenium directly in a downloading script is a bold move. But if it's that fast for you guys, I'm clearly doing something wrong and should just shut up.

    Either way, nice work @the-equalizer. I'm sure it's appreciated by many
    Quote Quote  
  4. Member
    Join Date
    May 2023
    Location
    England
    Search Comp PM
    Originally Posted by the-equalizer View Post
    Requirements:
    Firefox
    selenium

    selenium more info:
    h**ps://pypi.org/project/selenium/
    Basically to install: pip install selenium

    Installation:
    Move the two files into freevine>Services>channel5 directory.
    Overwrite channel5.py

    open channel5.py with a notepad (or text editor) and
    edit line 54:
    LOCATION_RETRIEVE_KEYS_HTML = r"file:///mnt/Edrive/portable/freevine/services/channel5/retrieve-keys.html"
    This is my linux version and points to where the retrieve-keys.html (which you have just copied) is stored.
    Here is a windows example:
    LOCATION_RETRIEVE_KEYS_HTML = r"file:///C:/freevine/services/channel5/retrieve-keys.html"
    This MUST be correct or it will throw an error.

    Done. Use freevine as usual.
    Works like a charm, thank you!
    Quote Quote  
  5. It would be nothing without you and A_n_g_e_l_a.

    I had not even looked at python before your app. Im a vintage vb.net tinkerer.(xp vintage)
    But with the help of your great program and a book called Python Crash Course, I figuired it out.
    Freevine is my daily app for grabbing tv bcause it just works and just wanted c5 working again.
    So is my changes python perfect. No.
    Do I know if my changes are coded correctly. No.
    It's like a sticking plaster and for me it works.

    At first I tried to do it manaully via bash and if you thought sellium took long, try bash
    Then I though of using a config file system like A_n_g_e_l_a.
    But if the keys had changed between uses, then you had to run the update and try again.
    So I just thought grab the things live and load them in memory.
    It was the quickest way I could come up with.

    Originally Posted by stabbedbybrick View Post
    Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by stabbedbybrick View Post

    What I'm mostly curious about is how you manage to use the slow horribleness that is selenium to fetch the keys in 3 seconds?
    Takes me about 7 seconds. As I suggest elsewhere setting a cron job to do it once or twice a week might be a good idea; then you could forget it. I've published the stand-alone python script somewhere.
    Yeah, I had everything automated. There's no way I'd remember keeping it up otherwise.

    Even under the best circumstances, using selenium to fetch the keys and pushing them to github with git took 15-20 seconds. Whereas with Playwright, I cut that down to 8 seconds (with sleep) on a tired little laptop. It doesn't really matter if you're just using it to update once in a while, but to use selenium directly in a downloading script is a bold move. But if it's that fast for you guys, I'm clearly doing something wrong and should just shut up.

    Either way, nice work @the-equalizer. I'm sure it's appreciated by many
    Last edited by the-equalizer; 8th May 2024 at 10:04.
    Quote Quote  
  6. Originally Posted by the-equalizer View Post
    It would be nothing without you and A_n_g_e_l_a.

    I had not even looked at python before your app. Im a vintage vb.net tinkerer.(xp vintage)
    But with the help of your great program and a book called Python Crash Course, I figuired it out.
    Freevine is my daily app for grabbing tv bcause it just works and just wanted c5 working again.
    So is my changes python perfect. No.
    Do I know if my changes are coded correctly. No.
    It's like a sticking plaster and for me it works.

    At first I tried to do it manaully via bash and if you thought sellium took long, try bash
    Then I though of using a config file system like A_n_g_e_l_a.
    But if the keys had changed between uses, then you had to run the update and try again.
    So I just thought grab the things live and load them in memory.
    It was the quickest way I could come up with.
    I'm definitely not judging you in any way. I was merely curious how selenium worked for you since I've had bad experiences with it. But it seems to work well so no point in me nitpicking. I'm also slightly obsessive when it comes to optimizing things, which I realize most people aren't. I don't even use most services I code, I just enjoy solving problems and making things work

    And it makes me happy to hear you learned something from my code. Freevine was my first major project, and a lot of it was made possible by studying other programmers work. It's pretty cool if I managed to pay it forward in some way.

    Keep up the good work!
    Quote Quote  
  7. Oh I never thought you were judging me.
    I was just saying, if there are any glaring errors in the code, be gentle as I know very little about python.
    It just works for me and wanted to share.

    I think the changes i made, were about 9th or 10th version and was on the verge of giving up.
    I'm from an age where code starts at the top and works it way down, to the end.
    Where as python has defs thats dont run code just define a function.
    It was sort of like the old calls, but don't run it.Blew my mind at first.
    Quote Quote  
  8. Originally Posted by the-equalizer View Post
    Done. Use freevine as usual.
    I just wanted to say a huge thanks for keeping the dream alive!
    Quote Quote  
  9. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by the-equalizer View Post
    Oh I never thought you were judging me.
    I was just saying, if there are any glaring errors in the code, be gentle as I know very little about python.
    It just works for me and wanted to share.

    I think the changes i made, were about 9th or 10th version and was on the verge of giving up.
    I'm from an age where code starts at the top and works it way down, to the end.
    Where as python has defs thats dont run code just define a function.
    It was sort of like the old calls, but don't run it.Blew my mind at first.
    So what is the purpose of a 'def'(inition) then if not to run code? Think back to your linear programming days. Did you learn to group bits of repeatable code and put it out of the way in a section at the end and jump to it by a goto? Or perhaps in Basic you used procedures 'proc' to make code more readable. The definition of a function is at the heart of all programming; it saves the code in the function having to be repeatedly typed over and over, as it can be written once and called many times, many, many times (Betty Marsden, Round the Horne anyone?), with varying parameters; functions also make code more readable and thus understandable.

    And our Python scripts are still linear programming. Although python can be an object oriented language no-one in the field of decryption seems to use it that way
    Last edited by A_n_g_e_l_a; 9th May 2024 at 10:25.
    Noob Starter Pack. Just download every Widevine mpd! Not kidding!.
    https://files.videohelp.com/u/301890/hellyes6.zip
    Quote Quote  
  10. Originally Posted by A_n_g_e_l_a View Post
    Where as python has defs thats dont run code just define a function.
    It was sort of like the old calls, but don't run it.Blew my mind at first.

    So what is the purpose of a 'def'(inition) then if not to run code? Think back to your linear programming days. Did you learn to group bits of repeatable code and put it out of the way in a section at the end and jump to it by a goto? Or perhaps in Basic you used procedures 'proc' to make code more readable. The definition of a function is at the heart of all programming; it saves the code in the function having to be repeatedly typed over and over, as it can be written once and called many times, many, many times (Betty Marsden, Round the Horne anyone?), with varying parameters; functions also make code more readable and thus understandable.

    And our Python scripts are still linear programming. Although python can be an object oriented language no-one in the field of decryption seems to use it that way
    Thanks A_n_g_e_l_a its my daft brain explaining it wrong.
    What I meant was under vb.net you had public and private functions and a lot paremeters and return type.
    It stood out a mile it was a seperate part of the program and usually seperate from main form? (cant remember, its years since i touched vb.net)
    Where as python just has def and is seperated by a line.
    What I meant by it doesnt run the code, is that it sits pretty until the function is called.
    The only other way I could try and explain it, is that python is more slick, with less words.
    Probably still not explaining myself correctly, but thats my old brain!
    Give me a ZX Spectrum & a z80 disassembler and i'm happy.
    Quote Quote  
  11. Member
    Join Date
    Dec 2023
    Location
    Spain
    Search Comp PM
    Brilliant work, copied over your files, installed selenium, edited the dir on line 54 and off it goes - nice and thanks!

    Originally Posted by the-equalizer View Post
    Requirements:
    Firefox
    selenium

    selenium more info:
    h**ps://pypi.org/project/selenium/
    Basically to install: pip install selenium

    Installation:
    Move the two files into freevine>Services>channel5 directory.
    Overwrite channel5.py

    open channel5.py with a notepad (or text editor) and
    edit line 54:
    LOCATION_RETRIEVE_KEYS_HTML = r"file:///mnt/Edrive/portable/freevine/services/channel5/retrieve-keys.html"
    This is my linux version and points to where the retrieve-keys.html (which you have just copied) is stored.
    Here is a windows example:
    LOCATION_RETRIEVE_KEYS_HTML = r"file:///C:/freevine/services/channel5/retrieve-keys.html"
    This MUST be correct or it will throw an error.

    Done. Use freevine as usual.
    Quote Quote  
  12. Here is a Video "KVM-Win10-Video-FreeVine.H.265.mp4" (cca 12min and 64M in size H.265 - no audio recorded on fresh Win10 system)
    showing how to install FreeVine and download using it
    easily from the CLI just copy and paste ..... ;)

    It's taken me 12 min, but can be done in few seconds ;)

    ALL COMMANDS EXECUTED ARE IN Power Shell

    #1]
    #- Fixing ERROR to enable python ENV
    #
    #2]
    #- Open up Windows PowerShell (PS)
    #
    #3]
    #- Create DIR structure (no one likes files all over)
    #
    #4]
    #- # Install Requirements/Dependencies ;)
    #
    #5]
    #- Check all "Dependencies installed are in Windows PATH
    #
    #6]
    #- # Install "Freevine" cloning the REPO:
    #
    #7]
    #- Configure FreeVine
    #
    #8]
    #- Usage
    #
    #9]
    #- Fix CH5 by stabbedbybrick #1424(not part of the video)
    #
    #10]
    #- Fix UKTV by the-equalizer #1474 (not part of the video)


    #CMD - HomeDrive|HomePath:
    Code:
    %HOMEDRIVE%%HOMEPATH%

    #Power Shell - HomeDrive|HomePath:
    Code:
    $home




    Premium content is not supported

    https://github.com/stabbedbybrick/freevine/blob/main/supportedsites.md


    To split long command into multiple lines in (PS), use the backtick|grave accent (`).
    To split long command into multiple lines in (CMD), use the caret (^).
    https://en.wikipedia.org/wiki/Grave_accent
    https://en.wikipedia.org/wiki/Caret


    ################################################## ##############################
    [1]
    ################################################## ##############################
    # Fix the PowerShell execution policies for Windows computers. error with "Get-ExecutionPolicy":



    # To open up "elevated" Windows PowerShell (PS) press:
    Code:
    WinKey+x + a

    # You can check that the Power Shell opened has "Administrator" or elevated privileges with:
    Code:
    ([Security.Principal.WindowsPrincipal] `
      [Security.Principal.WindowsIdentity]::GetCurrent() `
    ).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)

    #Check the current state:
    Code:
    Get-ExecutionPolicy -List

    CurrentUser RemoteSigned



    # Enabling Python ENV - Let's fix the ERROR
    Code:
    Set-ExecutionPolicy -ExecutionPolicy RemoteSigned
    # or
    #When Asked what ExecutionPolicy, type in: RemoteSigned
    Code:
    Set-ExecutionPolicy -Scope CurrentUser
    #ExecutionPolicy: ?
    Code:
    RemoteSigned
    [ENTER]







    ################################################## ##############################
    [2]
    ################################################## ##############################
    # To open up Windows PowerShell (PS) press:
    Code:
    WinKey+x + i
    # or
    Code:
    WinKey + R:
    # type:
    Code:
    powershell
    # [pres ENTER]

    # To maximize the "window" press:
    Code:
     WinKey + "arrow up"

    #Lets make sure we are in the HOME USER dir:
    Code:
    cd $home

    # PowerShell has "PS" at the start of the path.
    # Command Prompt or CMD does not have anything apart from the path.

    # (PS) = PowerShell = "PS C:\Users\yourUSERNAME>"
    # -------------------------------------------------
    # (CMD) = Command Prompt = "C:\Users\yourUSERNAME>"


    # PATH
    # "$home\" is tha same as "C:\Users\yourUSERNAME\"


    # Not sure what your username is?
    Code:
    $env:UserName


    # You can change between PS and CMD just typing:
    Code:
    powershell
    # and/or
    Code:
    cmd
    # Don't forget to type "exit" to return to previous terminal :)


    ################################################## ##############################
    [3]
    ################################################## ##############################
    # Create DIR structure (no one likes files all over)
    # Remember the clear desk policy? ;)

    #For GIT projects and WVD's that are placed in your "HOME":

    #For GIT projects
    Code:
    mkdir $home\git
    #For WVD files
    Code:
    mkdir $home\wvd



    ################################################## ##############################
    [4]
    ################################################## ##############################
    # Install Requirements/Dependencies ;)

    # See the post/Video here:
    # Video guide to get your Win system set-up for .....
    https://forum.videohelp.com/threads/414487



    ################################################## ##############################
    [5]
    ################################################## ##############################
    # Check all "Dependencies installed are in Windows PATH:

    Code:
    git -v
    Code:
    N_m3u8DL-RE --version
    Code:
    mkvextract --version
    Code:
    mkvmerge --version
    Code:
    ffmpeg -version
    Code:
    ffprobe -version
    Code:
    aria2c --version
    Code:
    ccextractorwinfull --version
    Code:
    shaka-packager -version
    Code:
    hola-proxy --version
    Code:
    windscribe-proxy --version
    Code:
    yt-dlp --version

    #Single Python Installation:
    Code:
    py -V
    Code:
    pip -V
    #Multiple Major Versions of Python Package:
    Code:
    py -3.12 -V
    Code:
    py -3.10 -V
    #
    Code:
    py -3.12 -m pip -V
    Code:
    py -3.10 -m pip -V


    ################################################## ##############################
    [6]
    ################################################## ##############################
    # Install "Freevine" cloning the REPO:


    Code:
    cd $home\git
    Code:
    git clone https://github.com/stabbedbybrick/freevine.git freevine
    Code:
    cd $home\git\freevine


    # Upgrade at later stage (APP IS NOT MAINTAINED, but you find the command useful:
    Code:
    git -C $home\git\freevine pull
    Code:
    git -C $home\git\freevine pull freevine

    # Let's create Python ENV in this DIR:
    Code:
    py -m venv env

    # Activate the ENV for current DIR (If you get an error see step [1]:
    Code:
    .\env\Scripts\activate


    #Create /utils/wvd/ folder and place either .wvd file or private_key and client_id blob inside
    Code:
    mkdir $home\git\freevine\utils\wvd


    #Get your WVD file (Courtesy of "303646"):

    #Using IWR:
    Code:
    Invoke-WebRequest https://files.videohelp.com/u/303646/2448192963.zip -OutFile $home\wvd\2448192963.zip
    Code:
    tar -tzf $home\wvd\2448192963.zip | findstr "pem bin"
    Code:
    tar --verbose --directory=/2448192963/ --extract --file=$home\wvd\2448192963.zip --strip-components=1 -C $home\git\freevine\utils\wvd
    ls $home\git\freevine\utils\wvd
    #OR this command if the file does not contain DIRectory inside the ZIP file:
    Code:
    tar --verbose --extract --file=$home\wvd\2448192963.zip -C $home\git\freevine\utils\wvd
    ls $home\git\freevine\utils\wvd


    # OR
    #Using Aria
    Code:
    aria2c https://files.videohelp.com/u/303646/2361419202.zip --dir  $home\wvd
    #Unzip into the
    Code:
    tar -tzf $home\wvd\2361419202.zip | findstr "pem bin"
    Code:
    tar --verbose --directory=/2361419202/ --extract --file=$home\wvd\2361419202.zip --strip-components=1 -C $home\git\freevine\utils\wvd
    ls $home\git\freevine\utils\wvd

    https://files.videohelp.com/u/303646/1836941661.zip
    https://files.videohelp.com/u/303646/1874076282.zip #Those
    https://files.videohelp.com/u/303646/1901532735.zip
    https://files.videohelp.com/u/303646/2085943500.zip #who
    https://files.videohelp.com/u/303646/2090896636.zip
    https://files.videohelp.com/u/303646/2103024377.zip
    https://files.videohelp.com/u/303646/2135508799.zip
    https://files.videohelp.com/u/303646/2163841363.zip
    https://files.videohelp.com/u/303646/2165463467.zip
    https://files.videohelp.com/u/303646/2205156279.zip #know
    https://files.videohelp.com/u/303646/2225908683.zip
    https://files.videohelp.com/u/303646/2257664396.zip
    https://files.videohelp.com/u/303646/2314085259.zip #need
    https://files.videohelp.com/u/303646/2343152275.zip
    https://files.videohelp.com/u/303646/2361419202.zip #not
    https://files.videohelp.com/u/303646/2371137915.zip
    https://files.videohelp.com/u/303646/2373129295.zip
    https://files.videohelp.com/u/303646/2388267602.zip
    https://files.videohelp.com/u/303646/2389746031.zip
    https://files.videohelp.com/u/303646/2408472391.zip #ask
    https://files.videohelp.com/u/303646/2428458567.zip
    https://files.videohelp.com/u/303646/2441727647.zip
    https://files.videohelp.com/u/303646/2448192963.zip
    https://files.videohelp.com/u/303646/2448787606.zip
    https://files.videohelp.com/u/303646/2453587260.zip
    https://files.videohelp.com/u/303646/2464283359.zip
    https://files.videohelp.com/u/303646/2515545258.zip #for
    https://files.videohelp.com/u/303646/2760340741.zip #help



    #Install FreeVine + it's dependencies using PIP:
    Code:
    pip install -r requirements.txt
    #OR if you have Multiple Major Version of Python, using specific version:
    Code:
    py -3.12 -m pip install -r requirements.txt
    Code:
    py -3.11 -m pip install -r requirements.txt
    Code:
    py -3.10 -m pip install -r requirements.txt





    ################################################## ##############################
    [7]
    ################################################## ##############################
    # Configure FreeVine

    # Like to have the recordings in MP4 Container?
    # Use/Configure PROXY (Hola or Windscribe)?
    # Only want to download specific resolution?


    # To save the changes in the nano editor press: Ctrl + o
    # To exit the nano editor press: Ctrl + x
    Code:
    nano $home\git\freevine\config.yaml
    #or
    Code:
    notepad $home\git\freevine\config.yaml

    Code:
    #format: mkv
    format: mp4
    Code:
    #muxer: mkvmerge
    muxer: ffmpeg
    Code:
    #proxy: # basic, hola or windscribe
    proxy: hola

    Code:
    # Set audio options. 
    # See "N_m3u8DL-RE --morehelp select-audio" for guidance. 
    # Default: best
    # Drop AUDIO that has "Description" in the name.
    audio:
    select: "for=best"
    drop: "name=Description"




    ################################################## ##############################
    [8]
    ################################################## ##############################
    # Usage

    # Returning to use Freevine:
    Code:
    cd $home\git\freevine
    Code:
    .\env\Scripts\activate
    Code:
    py freevine.py --help

    #Check out the HELP for both Freevine and N_m3u8DL-RE
    Code:
    py freevine.py --help
    Code:
    py freevine.py get --help
    Code:
    py freevine.py profile --help
    Code:
    N_m3u8DL-RE --help
    Code:
    N_m3u8DL-RE --morehelp select-video

    #Adding a PROFILE:
    #py freevine.py profile --username "USERNAME" --password "PASSWORD" --service "SERVICE"
    Code:
    py freevine.py profile --username "your@email.address" --password "Pa$$word" --service "ALL4"


    -----
    #ITV
    -----
    #Check titles available:
    Code:
    py freevine.py get -t -m https://www.itv.com/watch/a-time-to-die/10a3960/10a3960a0001 --proxy gb
    #Check availability quality, audio, etc.:
    Code:
    py freevine.py get -i -m https://www.itv.com/watch/a-time-to-die/10a3960/10a3960a0001 --proxy gb

    #The error in the Video here was caused by the Hola proxy .......removing it worked.
    #Download "worst" video, + "best" audio an "all subtitles:
    Code:
    py freevine.py get -sv worst -sa best -ss all -m https://www.itv.com/watch/a-time-to-die/10a3960/10a3960a0001 --proxy gb

    #Something does not work, clear CACHE:
    Code:
    freevine.py clear-cache


    ################################################## ##############################
    [9]
    ################################################## ##############################
    # Fix My5 by stabbedbybrick

    Code:
    nano +7 $home\git\freevine\services\channel5\api.yaml
    #or
    Code:
    notepad $home\git\freevine\services\channel5\api.yaml
    #or
    Code:
    code $home\git\freevine\services\channel5\api.yaml

    #Change OR replace the line below:

    gist: "https://gist.githubusercontent.com/stabbedbybrick/d775a9ce07196df0e3b9ea827fb4f5f7/raw/s.txt?={timestamp}"
    to (add HASH on the front of the line to comment it out)

    #gist: "https://gist.githubusercontent.com/stabbedbybrick/d775a9ce07196df0e3b9ea827fb4f5f7/raw/s.txt?={timestamp}"
    and add new line:

    Code:
    gist: "https://gist.githubusercontent.com/stabbedbybrick/8726c719721eac50a28f7bc3c94f18e9/raw/s.txt?={timestamp}"



    ################################################## ##############################
    [10]
    ################################################## ##############################
    # Fix UKTV by the-equalizer



    Code:
    nano +146 $home\git\freevine\utils\settings\services.json
    # "uktvplay.co.uk": {
    "u.co.uk": {







    #EDIT 2024/5/13:
    - added settings to drop Audio that has "Description" in the name
    - fix to My5 by "stabbedbybrick" #1424

    #EDIT 2024/5/22:
    - added command to check "Administrator" privileges

    #EDIT 2024/7/2:
    - fix UKTV Play by " the-equalizer" #1474



    The video recording is below:
    Image Attached Files
    Last edited by pssh; 2nd Jul 2024 at 16:47. Reason: #EDIT 2024/7/2:
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  13. Originally Posted by stabbedbybrick View Post
    Just wanted to let any Channel 5 / MY5 users know that the script will most likely stop working within a week or so. There are other options that will continue to work, like Diazole's original script and perhaps Angela's downloader, so there are still alternatives. I just figured I'd give a notice in case some of you still use this one.

    The reason for it stopping is that the automatic hmac retriever that ran daily so that users wouldn't need to do it themselves, is dead. And I won't be fixing it. If you don't know what the hell I'm talking about, the hmac keys were basically needed to decrypt API responses. Without them, you won't get a license or manifest from this script. And I think each pair is valid for about a week.

    I've written a functional Devine service for MY5 without the need for any hmac at all, which is why I won't be fixing the old method. It's instead using the android API with certification to access the license, which makes things a lot smoother. I'll probably put it up online soon, when the bug with the broken progress bar in Devine has been fixed.
    I decided to set up another hmac updater anyway for use with the Devine version. The android endpoint is less cumbersome, but it's also much more aggressive when it comes to blocking VPNs which isn't very fun. And it doesn't come with any improved quality, so might as well keep using this method until it breaks and save the alternative for a rainy day.

    It will be updated HERE

    If you want to use it with Freevine, replace the old gist in api.yaml and it should work as before.
    Or you can just keep using @the-equalizer's great fix. I just figured I'd mention it since it's up and running anyway.
    Quote Quote  
  14. Originally Posted by stabbedbybrick View Post
    I decided to set up another hmac updater anyway for use with the Devine version. The android endpoint is less cumbersome, but it's also much more aggressive when it comes to blocking VPNs which isn't very fun. And it doesn't come with any improved quality, so might as well keep using this method until it breaks and save the alternative for a rainy day.

    It will be updated HERE

    If you want to use it with Freevine, replace the old gist in api.yaml and it should work as before.
    Or you can just keep using @the-equalizer's great fix. I just figured I'd mention it since it's up and running anyway.
    Thank you very much.
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  15. Originally Posted by stabbedbybrick View Post
    Originally Posted by stabbedbybrick View Post
    Just wanted to let any Channel 5 / MY5 users know that the script will most likely stop working within a week or so. There are other options that will continue to work, like Diazole's original script and perhaps Angela's downloader, so there are still alternatives. I just figured I'd give a notice in case some of you still use this one.

    The reason for it stopping is that the automatic hmac retriever that ran daily so that users wouldn't need to do it themselves, is dead. And I won't be fixing it. If you don't know what the hell I'm talking about, the hmac keys were basically needed to decrypt API responses. Without them, you won't get a license or manifest from this script. And I think each pair is valid for about a week.

    I've written a functional Devine service for MY5 without the need for any hmac at all, which is why I won't be fixing the old method. It's instead using the android API with certification to access the license, which makes things a lot smoother. I'll probably put it up online soon, when the bug with the broken progress bar in Devine has been fixed.
    I decided to set up another hmac updater anyway for use with the Devine version. The android endpoint is less cumbersome, but it's also much more aggressive when it comes to blocking VPNs which isn't very fun. And it doesn't come with any improved quality, so might as well keep using this method until it breaks and save the alternative for a rainy day.

    It will be updated HERE

    If you want to use it with Freevine, replace the old gist in api.yaml and it should work as before.
    Or you can just keep using @the-equalizer's great fix. I just figured I'd mention it since it's up and running anyway.

    Awesome thank you! Updated and working great again
    Quote Quote  
  16. Member
    Join Date
    Jan 2024
    Location
    georgia
    Search PM
    hello, can someone download for me this episode from pluto tv as mp4? https://pluto.tv/us/on-demand/series/5f9c8b33b7f0da001afa75c8/season/1/episode/5f9c8b3...fa7737?lang=pt
    Quote Quote  
  17. Member
    Join Date
    Mar 2024
    Location
    Poland
    Search PM
    Image
    [Attachment 79170 - Click to enlarge]


    what is my mistake, can anyone help?
    Quote Quote  
  18. Originally Posted by grzech67 View Post
    Image
    [Attachment 79170 - Click to enlarge]


    what is my mistake, can anyone help?

    I used episode and it worked fine.

    python freevine.py get --episode https://www.channel4.com/programmes/copshop

    Image
    [Attachment 79178 - Click to enlarge]
    Quote Quote  
  19. Originally Posted by grzech67 View Post
    Image
    [Attachment 79170 - Click to enlarge]


    what is my mistake, can anyone help?
    Is the TOOL for the subtitles missing or not in PATH?
    ..........convert_subtitles....



    #Check this out (recorded in Power Shell on Win 11 Pro 22H2):

    https://asciinema.org/a/amxq0Am6kV3Qj0qSMuO1E0jdu
    (All unclaimed recordings are automatically deleted 7 days after upload.)

    #You can download the recording as:
    .cast = Original Recording (And play it back Localy)
    .txt = Plain Text Version (Easy copy/paste)
    .gif = animated GIF requires "Installing" agg program

    Code:
    winget install --id asciinema.agg
    Code:
    agg https://asciinema.org/a/amxq0Am6kV3Qj0qSMuO1E0jdu 659804.gif


    I am unable to upload the GIF (only up to 10Mb is allowed)
    and
    CAST file as the server does not recognize this file type

    ZIP file contains the *.GIF and *.CAST files
    Image Attached Files
    Last edited by pssh; 8th Jun 2024 at 11:57.
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  20. Originally Posted by pithon123 View Post
    hello, can someone download for me this episode from pluto tv as mp4? https://pluto.tv/us/on-demand/series/5f9c8b33b7f0da001afa75c8/season/1/episode/5f9c8b3...fa7737?lang=pt

    Is your mother tongue PT? = "fa7737?lang=pt"



    Here it is: https://gofile.io/d/Fqstmi




    Code:
    (env) PS C:\Users\user\git\freevine> py freevine.py get -t -s01e47 https://pluto.tv/us/on-demand/series/5f9c8b33b7f0da001afa75c8/
    
    ❯_freevine v1.1.8
    
    INFO : PlutoTV
    INFO : Los herederos del monte: 1 Season(s), 128 Episode(s)
    
    INFO : Los herederos del monte S01E47 Verdad dolorosa
    /


    Code:
    (env) PS C:\Users\user\git\freevine> py freevine.py get -i -e s01e47 https://pluto.tv/us/on-demand/series/5f9c8b33b7f0da001afa75c8
    
    ❯_freevine v1.1.8
    
    INFO : PlutoTV
    INFO : Los herederos del monte: 1 Season(s), 128 Episode(s)
    
    INFO : Los herederos del monte S01E47 Verdad dolorosa
    
    INFO : N_m3u8DL-RE (Beta version) 20231113
    INFO : Loading URL: http://silo-hybrik.pluto.tv.s3.amazonaws.com/d7809d_Telemundo/clip/5f9c8b37b7f0da001afa763a_Los_Herederos_Del_Monte_LAS_Verdad_dolorosa_S1E47/720p/20201103_153411/hls/0-end/master.m3u8
    INFO : Content Matched: HTTP Live Streaming
    INFO : Parsing streams...
    WARN : Master List detected, try parse all streams
    INFO : Extracted, there are 6 streams, with 5 basic streams, 0 audio streams, 1 subtitle streams
    INFO : Vid 1280x720 | 2564 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Vid 854x480 | 1756 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Vid 854x480 | 1146 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Vid 640x360 | 741 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Vid 426x240 | 437 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Sub subs | es | Spanish
    INFO : Parsing streams...
    INFO : Selected streams:
    INFO : Vid *AES_128 1280x720 | 2564 Kbps | 30 | avc1.64001f,mp4a.40.2 | 535 Segments | ~44m31s
    INFO : Sub subs | es | Spanish | 535 Segments | ~44m31s


    Code:
    (env) PS C:\Users\user\git\freevine> py freevine.py get -s01e47 https://pluto.tv/us/on-demand/series/5f9c8b33b7f0da001afa75c8/
    
    ❯_freevine v1.1.8
    
    INFO : PlutoTV
    INFO : Los herederos del monte: 1 Season(s), 128 Episode(s)
    
    INFO : Los herederos del monte S01E47 Verdad dolorosa
    
    INFO : N_m3u8DL-RE (Beta version) 20231113
    INFO : Loading URL: http://silo-hybrik.pluto.tv.s3.amazonaws.com/d7809d_Telemundo/clip/5f9c8b37b7f0da001afa763a_Los_Herederos_Del_Monte_LAS_Verdad_dolorosa_S1E47/720p/20201103_153411/hls/0-end/master.m3u8
    INFO : Content Matched: HTTP Live Streaming
    INFO : Parsing streams...
    WARN : Master List detected, try parse all streams
    WARN : Writing meta json
    INFO : Extracted, there are 6 streams, with 5 basic streams, 0 audio streams, 1 subtitle streams
    INFO : Vid 1280x720 | 2564 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Vid 854x480 | 1756 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Vid 854x480 | 1146 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Vid 640x360 | 741 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Vid 426x240 | 437 Kbps | 30 | avc1.64001f,mp4a.40.2
    INFO : Sub subs | es | Spanish
    INFO : Parsing streams...
    INFO : Selected streams:
    INFO : Vid *AES_128 1280x720 | 2564 Kbps | 30 | avc1.64001f,mp4a.40.2 | 535 Segments | ~44m31s
    INFO : Sub subs | es | Spanish | 535 Segments | ~44m31s
    WARN : Writing meta json
    INFO : Save Name: Los.herederos.del.monte.S01E47.Verdad.dolorosa.720p.PLUTO.WEB-DL.AAC2.0.H.264
    WARN : MuxAfterDone is detected, binary merging is automatically enabled
    INFO : Start downloading...Sub subs | es | Spanish
    INFO : Start downloading...Vid 1280x720 | 2564 Kbps | 30 | avc1.64001f,mp4a.40.2
    WARN : Reading media info...
    INFO : NaN: Subtitle, webvtt
    WARN : Reading media info...
    INFO : [0x100]: Video, h264 (High) ([27][0][0][0]), 1280x720, 30 fps
    INFO : [0x101]: Audio, aac (LC) ([15][0][0][0]), 97 kb/s
    WARN : Extracting VTT(raw) subtitle...
    INFO : Binary merging...
    INFO : Binary merging...
    WARN : Los.herederos.del.monte.S01E47.Verdad.dolorosa.720p.PLUTO.WEB-DL.AAC2.0.H.264.ts
    WARN : Los.herederos.del.monte.S01E47.Verdad.dolorosa.720p.PLUTO.WEB-DL.AAC2.0.H.264.es.srt
    WARN : Muxing to Los.herederos.del.monte.S01E47.Verdad.dolorosa.720p.PLUTO.WEB-DL.AAC2.0.H.264.MUX.mp4
    WARN : Cleaning files...
    WARN : Rename to Los.herederos.del.monte.S01E47.Verdad.dolorosa.720p.PLUTO.WEB-DL.AAC2.0.H.264.mp4
    INFO : Done
    If I was in politics I make sure you drink plenty of beer
    and watch plenty of TV to keep you busy. | Data is the new oil.
    Quote Quote  
  21. Hello guys, please help me to download this episode from pluto:
    https://pluto.tv/us/on-demand/series/56bbefbf3b514fa74992670f/season/2/episode/56bbefb...514fa749926715

    It worked on all other episodes, but I always have problems with this one.
    Quote Quote  
  22. Is anyone having any trouble with TubiTV via Freevine. I have tried it several times today and everything is failing. I am getting this error:

    HTTPError: 401 Client Error: Unauthorized for url: https://tubitv.com/oz/videos/0300011089/content?video_resources=hlsv6_widevine_nonclea...esources=hlsv6

    I'm going to really miss TubiTV if this is the end but it was nice while it lasted.

    I hope there is a remedy for this as out of all the services TubiTV is in my top three with CTV and CBC. It is nice that PlutoTV has been working for me again as of late. TubiTV has been such a rock and worked well for so long it will take a while to adjust to it not working as it has.

    I was think maybe one should sign up for TubiTV and have a login and password and then maybe it will work again. I don't think it is a VPN issue as I tried the Canadian one without the VPN turned on and it still failed.
    Last edited by Tom Saurus; 18th May 2024 at 18:27.
    Quote Quote  
  23. Member
    Join Date
    Oct 2023
    Location
    Afghanistan
    Search PM
    Originally Posted by Tom Saurus View Post
    Is anyone having any trouble with TubiTV via Freevine.
    Tubi have made a change to their site, so you won't be using Freevine anymore unless Stabby really feels like looking into a manual fix (given the app has been archived).
    https://github.com/yt-dlp/yt-dlp/issues/9937

    Fortunately downloads still work ok doing it manually by grabbing the link using The Stream Detector and then downloading with N_m3u8DL-RE, so not all is lost
    Quote Quote  
  24. Member
    Join Date
    Jan 2024
    Location
    georgia
    Search PM
    PSSH _ Thank you so much for your help, god bless you
    Quote Quote  
  25. [QUOTE=billybanana;2736259]
    Originally Posted by Tom Saurus View Post
    Is anyone having any trouble with TubiTV via Freevine.
    Tubi have made a change to their site, so you won't be using Freevine anymore unless Stabby really feels like looking into a manual fix (given the app has been archived).
    https://github.com/yt-dlp/yt-dlp/issues/9937

    Fortunately downloads still work ok doing it manually by grabbing the link using The Stream Detector and then downloading with N_m3u8DL-RE, so not all is lost [/QUOTE

    First thank you for this information and taking the time to find out and letting us know. So I am going to have to go back and learn N_m3u8DL-RE again. I used to have success with TubiTV. Digging in and finding the url, the licence and eventually the PSSH and then the keys by WK Keys. I have forgotten how to do that and Freevine was so convenient and quick. I should have kept my skills up and I hope I can figure it out again.

    Thanks stabbedbybrick for all that you did with the Freevine TubiTV service and I am grateful for that. Maybe eventually TubiTV will be added to Devine. I got to give that another go sometime as well.
    Quote Quote  
  26. Originally Posted by Tom Saurus View Post

    Thanks stabbedbybrick for all that you did with the Freevine TubiTV service and I am grateful for that. Maybe eventually TubiTV will be added to Devine. I got to give that another go sometime as well.
    Working on it:

    Image
    [Attachment 79268 - Click to enlarge]


    It's pretty sad that Tubi only offers 720p max, but they have such a unique library it's worth writing a downloader for it. I don't have a lot of time these days, but it should be finished pretty soon I think.
    Quote Quote  
  27. Thank you for working on a Devine TubiTV service. It really is one of the best streaming websites. I am happy with 480p most of the time. I really better get Devine up and working. I hope whatever TubiTV did that the other services that I use on Freevine will be alright for several months to come.
    Quote Quote  
  28. Member
    Join Date
    Dec 2023
    Location
    Spain
    Search Comp PM
    Anyone not getting subs for a while on ALL4? I haven't had subs for about a week or so, no changes to the config itself and double checked it's as it was.

    Tried mp4 and mkv as the container. All ok for subs on MY5 and ITVX.
    Quote Quote  
  29. Member
    Join Date
    Dec 2022
    Location
    Lesotho
    Search Comp PM
    I download subs from the Ch4 website as the freevine subtitle module strips a lot of the formatting.
    Quote Quote  
  30. I followed PSSH's Guide for Freevine and what I already knew and relearned and I got Freevine set up on my Sister's computer. One big tip never underestimate the importance when you install python to make sure you check that box about putting Python in Windows PATH. I didn't do that and I had some difficulties getting Freevine running. Then I uninstalled Python and then downloaded and installed it again and this time I made sure I checked the box. Then I could pip install requirements. I then put a key and bob in the WVD folder. Then I ran Freevine to test things out and it created what was necessary to activate the CDM.

    Now to get WSK-KEYS working and N_m3u8DL-RE working and then try to finish up with Devine. I did a lot of reading and thinking and I think my brain grew a little bit as my hair has retreated a bit and my forehead has expanded. Perhaps it is all this thinking causing it or maybe it has something about growing older.
    Quote Quote  



Similar Threads

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