VideoHelp Forum




+ Reply to Thread
Page 2 of 2
FirstFirst 1 2
Results 31 to 53 of 53
  1. Member
    Join Date
    Mar 2024
    Location
    United Kingdom
    Search PM
    Yes unfortunately, although @TPD94 looks to be bringing cdm-project.com back online...

    Try the following provided by @phased for now:

    https://files.videohelp.com/u/312095/devine-services.zip
    Quote Quote  
  2. Code:
      File "C:\devine\devine\core\utilities.py", line 84, in import_module_by_path
        spec.loader.exec_module(module)
      File "C:\devine-services\services\HULU\__init__.py", line 9, in <module>
        from devine.core.utils.pyhulu import Device, HuluClient
      File "C:\devine\devine\core\utils\pyhulu.py", line 6, in <module>
        import pyhulu
    ModuleNotFoundError: No module named 'pyhulu'
    The following error is appearing for me, I have the pyhulu.py file in the folder indicated by the error, and yet it doesn't find anything.
    Quote Quote  
  3. Member
    Join Date
    Mar 2024
    Location
    United Kingdom
    Search PM
    Hulu is not a free to air service and also isn't part of the services included in my guide.
    Quote Quote  
  4. Originally Posted by SaintyUK View Post
    Hulu is not a free to air service and also isn't part of the services included in my guide.
    I solved the error by deleting the unnecessary folders, and now it's working properly. I was using a services folder that someone had sent me, it had unnecessary folders.
    Quote Quote  
  5. Thank you SaintyUK for making this guide and thank you stabbedbybrick for making this Devine fork. I have been waffling about spending the money to get another mini pc but if I do that; I will definitely give this a try.
    Quote Quote  
  6. Member
    Join Date
    Jan 2025
    Location
    England
    Search Comp PM
    I'm trying to get devine to use a proxy for some services, but I can't figure out the syntax for the devine.yaml file, or make --proxy work. I've got a NordVP account, so I probably need to put the details somewhere and then I need to tell devine to use a proxy for a particular service.

    Anybody made this work?

    I should say that devine is in general very easy to use, and I can get round the problem by setting my computer to the right country, but that's a bit inflexible.

    dwk33
    Quote Quote  
  7. EDIT
    Solved, reran installer and checked "Add Python to environment variables". I did this manually and restarted the CMD window but it didn't work still. Somehow it did after rerunning the installer. I love windows!

    EDIT2
    All setup now, many thanks for the guide SaintyUK



    Hi, thanks for the guide, I'm on W10 and get stuck at this bit. Python installed successfully I used all the defaults but when I execute this commend "C:\devine>python.exe -m pip install --upgrade pip" I get this error

    Code:
    C:\devine>python.exe -m pip install --upgrade pip
    Python was not found; run without arguments to install from the Microsoft Store, or disable this shortcut from Settings > Apps > Advanced app settings > App execution aliases.
    So I disabled the app aliases then get

    Code:
    C:\devine>python.exe -m pip install --upgrade pip
    'python.exe' is not recognized as an internal or external command,
    operable program or batch file.
    So python can't be found even though it's installed, how do I fix that?

    Heads up this link has changed "https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-7.1-essentials_build.zip".

    Thanks.
    Last edited by octo; 4th Jun 2025 at 08:25.
    Quote Quote  
  8. Originally Posted by SaintyUK View Post
    Overview

    The following is a semi-automated guide to install stabbedbybrick's fork of Devine, any dependencies and stabbedbybrick's Devine services!

    The fork has these added features:
    • Adds N_m3u8DL-RE as a downloader
    • Download audio and video tracks directly instead of via a proxy
    (see full changelog here)


    This guide assumes a few things:
    • OS is Windows 11 24H2
    • Python is not already installed
    • Git is not already installed
    • Required binaries will be downloaded to C:\devine-bin
    • Devine will be downloaded to C:\devine
    • Devine services will be downloaded to C:\devine-services
    If any of these are not true, please proceed with caution.



    1. Python Installation

    Note: Python 3.13.0 support is not available at the time of posting this guide
    1. Open a new Command Prompt (cmd.exe) instance
    2. Download the 3.12.7 64-bit Windows installer release of Python:
      Code:
      curl -L -O https://www.python.org/ftp/python/3.12.7/python-3.12.7-amd64.exe
    3. Execute the following:
      Code:
      python-3.12.7-amd64.exe /passive PrependPath=1 Include_tcltk=0 Include_test=0

    2. Git Installation
    1. Download the latest 64-bit version of git from: https://git-scm.com/downloads/win
    2. Install - accept all the default options if you are unsure

    3. Other Binary Dependencies
    1. Execute the following:
      Code:
      mkdir C:\devine-bin && cd C:\devine-bin
      curl -L -O https://github.com/shaka-project/shaka-packager/releases/download/v2.6.1/packager-win-x64.exe
      curl -L -O https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-7.1-essentials_build.zip
      tar -x -f ffmpeg-7.1-essentials_build.zip ffmpeg-7.1-essentials_build/bin
      move ffmpeg-7.1-essentials_build\bin\* . && rmdir /S /Q ffmpeg-7.1-essentials_build && del ffmpeg-7.1-essentials_build.zip
      curl -L -O https://github.com/nilaoda/N_m3u8DL-RE/releases/download/v0.2.1-beta/N_m3u8DL-RE_Beta_win-x64_20240828.zip
      tar -x -f N_m3u8DL-RE_Beta_win-x64_20240828.zip
      move N_m3u8DL-RE_Beta_win-x64\N_m3u8DL-RE.exe . && rmdir /S /Q N_m3u8DL-RE_Beta_win-x64 && del N_m3u8DL-RE_Beta_win-x64_20240828.zip
      curl -L -O https://mkvtoolnix.download/windows/releases/87.0/mkvtoolnix-64-bit-87.0.7z
      tar -x -f mkvtoolnix-64-bit-87.0.7z mkvtoolnix/mkvmerge.exe
      move mkvtoolnix\mkvmerge.exe . && rmdir /S /Q mkvtoolnix && del mkvtoolnix-64-bit-87.0.7z
      curl -L -O https://github.com/CCExtractor/ccextractor/releases/download/v0.93/CCExtractor.msi
      msiexec /a CCExtractor.msi TARGETDIR="C:\devine-bin\ccextractor_temp" /q
      move ccextractor_temp\PFiles\CCExtractor . && rmdir ccextractor_temp /S /Q && del CCExtractor.msi

    4. Devine Installation
    1. Open a new Command Prompt (cmd.exe) instance
    2. Execute the following:
      Code:
      mkdir C:\devine
      git clone https://github.com/stabbedbybrick/devine.git C:\devine
      cd C:\devine
      git checkout n_m3u8dl_re
      python.exe -m pip install --upgrade pip
      pip install --upgrade setuptools
      pip install poetry
      python -m venv venv
      venv\Scripts\activate.bat
      poetry config virtualenvs.in-project true
      poetry install

    5. Devine Services Installation
    1. Execute the following:
      Code:
      mkdir C:\devine-services
      git clone https://cdm-project.com/stabbedbybrick/devine-services.git C:\devine-services

    6. Configure Devine
    1. Execute the following:
      Code:
      mkdir %LOCALAPPDATA%\devine\WVDs
    2. Add your Widevine Device (.wvd) file to this directory - not covered in this guide. Information is readily available elsewhere in this forum!
    3. Execute the following to create a new config file:
      Code:
      notepad %LOCALAPPDATA%\devine\devine.yaml
    4. Add the following lines to the config file, replacing {} with the correct values:
      Code:
      directories:
        services: C:\devine-services\services
      
      credentials:
        ALL4: {ALL4 USERNAME}:{ALL4 PASSWORD}
      
      cdm:
        default: {NAME OF WVD FILE WITHOUT EXTENSION}
      
      downloader: n_m3u8dl_re
      
      n_m3u8dl_re:
        use_proxy: false
      
      dl:
        downloads: 4
        workers: 16
        sub_format: srt

    7. Final Steps
    1. Add binary directories to the user path. Execute the following:
      Code:
      for /f "usebackq tokens=2,*" %A in (`reg query HKCU\Environment /v PATH`) do set USER_PATH=%B
      setx PATH "C:\devine-bin;C:\devine-bin\CCExtractor;%USER_PATH%"
    2. Create a user friendly shortcut. Execute the following:
      Code:
      echo @echo off > "%LOCALAPPDATA%\Programs\Python\Python312\Scripts\devine.bat"
      echo C:\devine\venv\Scripts\python.exe C:\devine\venv\Scripts\devine %* >> "%LOCALAPPDATA%\Programs\Python\Python312\Scripts\devine.bat"

    8. Test
    1. Open a new Command Prompt (cmd.exe) instance
    2. Test the install by downloading an episode of Gogglebox from the ALL4 service:
      Code:
      devine dl -w S24E10 all4 gogglebox
    3. Once completed. The video file (mkv) should be in a directory in %USERPROFILE%\Downloads\devine\


    Thanks to @pssh for the previous guides - used as a basis for the above!
    And finally a special thanks to @stabbedbybrick for the devine fork and of course all the services!

    I am step 6 Configuring Devine and when I input the code to activate the .yaml, Notepad says "The system cannot find the path specified". Please I need some guidance as I do want to get this set up. Thank you in advance for any help given.

    Hopefully I am not far off the mark; Devine Env Info has quite a list but says the config file is missing but gives me directions on where it can go.
    Last edited by Tom Saurus; 22nd Jun 2025 at 10:16.
    Quote Quote  
  9. Member
    Join Date
    Jan 2025
    Location
    England
    Search Comp PM
    My yaml file is at C:\Users\<username>\AppData\Local\devine, and I didn't change the defaults.

    That's also the same as notepad %LOCALAPPDATA%\devine\devine.yaml, so it should work!

    From the command line, type: dir *.yaml /s

    If that doesn't work, the installation has failed somewhere. But I thought from earlier posts, you'd got devine running!

    P.S. I still don't know how to configure NordVPN proxies in my yaml file
    Quote Quote  
  10. Originally Posted by dwk33 View Post
    My yaml file is at C:\Users\<username>\AppData\Local\devine, and I didn't change the defaults.

    That's also the same as notepad %LOCALAPPDATA%\devine\devine.yaml, so it should work!

    From the command line, type: dir *.yaml /s

    If that doesn't work, the installation has failed somewhere. But I thought from earlier posts, you'd got devine running!

    P.S. I still don't know how to configure NordVPN proxies in my yaml file
    On my first Mini PC I have Devine working. I bought a newer Mini PC and I wanted to get this Devine Fork up and running. I have had a look through this install and all the folders are there and I did have a problem with WVD but eventually that folder showed up. I have never been able to get Proxies figured out. I am going to give what you wrote a try. Thank you for your response.
    Quote Quote  
  11. I just created a devine.yaml from scratch and devine env info still says no .yaml exists. I have it in the correct folder.
    Quote Quote  
  12. I have got a .yaml made that devine env info is pointing to now. The poster who made OzVine answered a question about .yaml in the GitHub Forum for Devine and I worked with what he wrote and also I was confused as despite myself thinking I had the .yaml in the correct folder I didn't. I am off to test it now and hopefully it works. If it does work thanks for the guide and this will be the quickest I ever got Devine set up correctly but the proof is the testing so we shall see. I have to get some cookies set up for certain services I haven't done that yet.
    Quote Quote  
  13. Member
    Join Date
    Jan 2025
    Location
    England
    Search Comp PM
    Good - if you figure out how to do a direct message, contact me, and we'll fix any remaining problems, but perhaps not proxies
    Quote Quote  
  14. Major confusion file folders which Devine env info shows exist don't exist. CDM failing; my brain hurts so I have to call it quits for today. Several different Devine Folders.
    Quote Quote  
  15. Thank you for the guide and I finally got Devine set up on my new mini pc. I did the test and Devine launched a proxy and it seemed to be failing then I shut off my VPN then it started working. Then it said it was ffprobe, so I dropped that into the bin folder. Then I tried the test again and it said it was missing ffmpeg so I put that in that folder. Then I tried again and it loaded the CDM and it worked.
    Quote Quote  
  16. Hi all,

    Apologies if this is a stupid question - I hope not. Am I doing something daft here? Everything I try to download from ITV always ends in "exception occurred in Service's licence function"

    For example:
    devine dl ITV "https://www.itv.com/watch/thunderbirds-are-go/2a2131/2a2131a0007"

    Image
    [Attachment 87629 - Click to enlarge]


    I've tried debugging my way through the code but I'm new to Python so Devine is still above my pay grade.

    Any advice very much appreciated !
    Quote Quote  
  17. Member
    Join Date
    Jan 2025
    Location
    England
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    Thank you for the guide and I finally got Devine set up on my new mini pc. I did the test and Devine launched a proxy and it seemed to be failing then I shut off my VPN then it started working. Then it said it was ffprobe, so I dropped that into the bin folder. Then I tried the test again and it said it was missing ffmpeg so I put that in that folder. Then I tried again and it loaded the CDM and it worked.
    How did you configure your proxy to get devine to launch a proxy? I'm wondering if it's related to configuring NordVPM.

    dwk33
    Quote Quote  
  18. Member
    Join Date
    Jan 2025
    Location
    England
    Search Comp PM
    Originally Posted by jimmythepom View Post
    Hi all,

    Apologies if this is a stupid question - I hope not. Am I doing something daft here? Everything I try to download from ITV always ends in "exception occurred in Service's licence function"

    For example:
    devine dl ITV "https://www.itv.com/watch/thunderbirds-are-go/2a2131/2a2131a0007"

    Image
    [Attachment 87629 - Click to enlarge]


    I've tried debugging my way through the code but I'm new to Python so Devine is still above my pay grade.

    Any advice very much appreciated !
    I can download BBC programmes but ITV doesn't want to play. I'm getting a different error:

    "devine dl -w s1e1 itv https://www.itv.com/watch/code-of-silence/10a5340" gives

    Retrying (Retry(total=8, connect=None, read=None, redirect=None,
    status=None)) after connection broken by 'RemoteDisconnected('Remote
    end closed connection without response')':
    /watch/code-of-silence/10a5340

    ALL4 is no better.
    Quote Quote  
  19. Originally Posted by dwk33 View Post
    Originally Posted by Tom Saurus View Post
    Thank you for the guide and I finally got Devine set up on my new mini pc. I did the test and Devine launched a proxy and it seemed to be failing then I shut off my VPN then it started working. Then it said it was ffprobe, so I dropped that into the bin folder. Then I tried the test again and it said it was missing ffmpeg so I put that in that folder. Then I tried again and it loaded the CDM and it worked.
    How did you configure your proxy to get devine to launch a proxy? I'm wondering if it's related to configuring NordVPM.

    dwk33
    Well I gave up Devine for a bit and set about trying to install and set up Angela's UKTV Downloader and I was using a guide by PSSH and then it seemed to be failing and I gave up on it. Then I returned to this Devine set up and finally it worked. Then the surprise Hola Proxy sprung up and I could see that wasn't getting anywhere and then I thought shut off the VPN and then it did its thing. It was by accident but perhaps someone else here can explain what happened.
    Quote Quote  
  20. Now Devine hangs on: checking if current region is geoblocked

    Hola has launched and set to GB from this command line:

    devine dl --list-titles ALL4 https://www.channel4.com/programmes/the-blacklist

    Whatever I have done to screw it up I do not know.
    Quote Quote  
  21. I did a search in Windows for hola and it showed there was a hola-proxy.exe in the system 32 folder so I took that and transferred that to a thumb drive. Now I have activated my VPN and set it to a U.S. City and Devine is downloading an episode at the moment. Update it got the first episode of what I was trying to get so the hola freeze up is gone.
    Quote Quote  
  22. Member
    Join Date
    Jan 2025
    Location
    England
    Search Comp PM
    Originally Posted by Tom Saurus View Post
    I did a search in Windows for hola and it showed there was a hola-proxy.exe in the system 32 folder so I took that and transferred that to a thumb drive. Now I have activated my VPN and set it to a U.S. City and Devine is downloading an episode at the moment. Update it got the first episode of what I was trying to get so the hola freeze up is gone.
    I haven't got a hola freeze, but ITV is no better. Does ITV work for you? My system is still stuck on "Fetching Title Metadata..."
    Quote Quote  
  23. Since I got rid of that hola.exe file Devine is working fine and I have tested ITV with an episode of "Vincent" and it turned out fine with the exception the video is totally surrounded by a black pillow box. VLC won't crop it out while playing it so I would have to crop it with Vidcoder and thus lose quality in re-encoding but that has nothing to do with Devine. Thankfully another show and an episode didn't have this type of thing. So thankfully everything is working with the exception of iP as far as I know as I haven't tested every service yet.
    Last edited by Tom Saurus; 28th Jun 2025 at 11:06.
    Quote Quote  



Similar Threads

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