VideoHelp Forum




+ Reply to Thread
Page 52 of 54
FirstFirst ... 2 42 50 51 52 53 54 LastLast
Results 1,531 to 1,560 of 1594
  1. Member
    Join Date
    Nov 2006
    Location
    canada
    Search Comp PM
    Originally Posted by Dravonvico View Post
    Originally Posted by mickmars View Post
    Originally Posted by Dravonvico View Post
    Originally Posted by mickmars View Post
    What is ajax and API and how do I update it, thanks

    Originally Posted by Dravonvico


    Don't have the old code in front of me but i am pretty sure these used the old ajax endpoints and what you want is the api endpoints. So pretty sure these should be where you'd make the changes.

    Code:
        @staticmethod
        def get_recommended_servers(country_id: int) -> list[dict]:
            url = f"https://api.nordvpn.com/v1/servers/recommendations?filters[country_id]={country_id}"
            headers = {
                "User-Agent": (
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
                    "AppleWebKit/537.36 (KHTML, like Gecko) "
                    "Chrome/120.0.0.0 Safari/537.36"
                )
            }
    
            try:
                res = requests.get(url, headers=headers, timeout=15)
                if not res.ok:
                    raise ValueError(f"Failed to get recommended servers [{res.status_code}]")
                return res.json()
            except requests.Timeout:
                raise RuntimeError("NordVPN API timeout after 15 seconds")
            except requests.RequestException as e:
                raise RuntimeError(f"NordVPN API error: {str(e)}")
    
        @staticmethod
        def get_countries() -> list[dict]:
            url = "https://api.nordvpn.com/v1/servers/countries"
            headers = {
                "User-Agent": (
                    "Mozilla/5.0 (Windows NT 10.0; Win64; x64) "
                    "AppleWebKit/537.36 (KHTML, like Gecko) "
                    "Chrome/120.0.0.0 Safari/537.36"
                )
            }
    I have absolutely no idea what any of that means, where to find it, and what Im supposed to do with it
    go find where your proxy script is for Nord and pretty much just copy paste that over your old static methods that are using the ajax endpoint.
    I have no idea where or what my proxy script for Nord is - Is it in the Nord app, is it a setting my devine set up?
    As for the copy and paste thing - Are you saying that I copy everything that you wrote, that is under the "try:" ? and paste it in place of everything you wrote above try ?[/QUOTE]

    I'd say now would be the time to dig in and find out. CLI is relatively easy to work with as are python scripts, but if you don't dig into the files and see whats what you just gotta hope someone out there will fix it and share it. Which is why I like to dig into the scripts and fix what needs fixing.

    And no it is not in your nord app, it is however a script in your devine folder, wherever you may have placed that, should be pretty easy to find just grep or if your on windows just search for nord in that devine folder and it should find it for you. And yes you copy everything i have over your current static methods for recommended_servers and get_countries (should be towards the bottom).

    EDIT: whoops, forgot to also have you change this line

    Code:
    servers = sum(x["servers_count"] for x in self.countries)
    to

    Code:
    servers = sum(int(x.get("servers_count", 0)) for x in self.countries if isinstance(x.get("servers_count"), (int, float, str)) and str(x.get("servers_count")).isdigit())
    [/QUOTE]


    Hi Thanks, just one more thing, are you talking about lines 39 and 122 ?
    Quote Quote  
  2. i did a re-install of devine and i may need help on an error i got when trying to download.
    Image Attached Thumbnails Click image for larger version

Name:	Screenshot 2025-04-17 164319.png
Views:	89
Size:	106.5 KB
ID:	86629  

    Quote Quote  
  3. Originally Posted by iamkennethy_ View Post
    i did a re-install of devine and i may need help on an error i got when trying to download.
    I'm pretty sure you don't use the direct episode link if you're specifying an episode number. I think you specify either the episode link or the episode number and series link.
    Quote Quote  
  4. Member
    Join Date
    Dec 2021
    Location
    england
    Search Comp PM
    Originally Posted by iamkennethy_ View Post
    i did a re-install of devine and i may need help on an error i got when trying to download.
    it not just you, I have same thing. It need to fix...
    it upto stabbybrick to fix if he have time
    Quote Quote  
  5. PlutoTV now isn't working on Freevine either and nobody will fix that but there is hope that the Devine version will be fixed.

    I ran across on TUBI when trying to get Mr. Robot it does what it did with Tremors The Series. It says there is nothing to download. I might be able to get the episodes with WidevineProxy2 individualy so there is that.
    Quote Quote  
  6. Originally Posted by Tom Saurus View Post
    PlutoTV now isn't working on Freevine either and nobody will fix that but there is hope that the Devine version will be fixed.

    I ran across on TUBI when trying to get Mr. Robot it does what it did with Tremors The Series. It says there is nothing to download. I might be able to get the episodes with WidevineProxy2 individualy so there is that.

    Pluto is working fine using Devine, I've just tested it.

    Image
    [Attachment 86652 - Click to enlarge]
    Quote Quote  
  7. Image
    [Attachment 86653 - Click to enlarge]


    ok im getting irritated, before i reinstalled devine i got the same error for tubi, now im getting the same error, i installed the EXACT versions required for devine and it still gives me this annoying error.
    Quote Quote  
  8. Originally Posted by the-equalizer View Post
    Originally Posted by Tom Saurus View Post
    PlutoTV now isn't working on Freevine either and nobody will fix that but there is hope that the Devine version will be fixed.

    I ran across on TUBI when trying to get Mr. Robot it does what it did with Tremors The Series. It says there is nothing to download. I might be able to get the episodes with WidevineProxy2 individualy so there is that.

    Pluto is working fine using Devine, I've just tested it.

    Image
    [Attachment 86652 - Click to enlarge]
    Thank you I just gave it try and Pluto is working in Devine for me and I am happy that it it working.
    Quote Quote  
  9. Originally Posted by iamkennethy_ View Post
    Image
    [Attachment 86653 - Click to enlarge]


    ok im getting irritated, before i reinstalled devine i got the same error for tubi, now im getting the same error, i installed the EXACT versions required for devine and it still gives me this annoying error.
    I am no expert. But i'd be looking at the modules that download stuff, to make sure they are all installed.

    CCExtractor for extracting Closed Caption data like EIA-608 from video streams and converting as SRT.
    FFmpeg (and ffprobe) for repacking/remuxing streams on specific services, and evaluating stream data.
    MKVToolNix v54+ for muxing individual streams to an .mkv file.
    shaka-packager for decrypting CENC-CTR and CENC-CBCS video and audio streams.
    (optional) aria2(c) to use as a downloader.

    Also check 'devine env info' that the paths look correct.

    Post the errors you are getting.(if it tells you)

    Are you using a vpn? Can you watch it in a browser, without errors?
    Quote Quote  
  10. Originally Posted by iamkennethy_ View Post
    Image
    [Attachment 86653 - Click to enlarge]


    ok im getting irritated, before i reinstalled devine i got the same error for tubi, now im getting the same error, i installed the EXACT versions required for devine and it still gives me this annoying error.
    I think there is an obscure error in one of the python 3.13.2 packages. I had errors like this with a previously working devine setup after machine updated itself.
    Eventually I reinstalled devine with its own venv using an older python (3.12) and it all worked again. My computer has had several updates since moving to python 3.13.3 and the original install of devine works once more.
    Quote Quote  
  11. Just tested TUBI with devine and that is working.

    But they have a weird numbering system for the particular show I chose.
    I had to use '--list' command.

    The show in question used s01e101 for the first episode! Instead of s01e01.
    Quote Quote  
  12. Member Ygramul's Avatar
    Join Date
    Jan 2007
    Location
    Poland
    Search Comp PM
    I have two questions:

    - can I queue downloads with this? I want to download dozens of movies from Tubi and I want to add them to a list in one go.

    - is there a step by step installation tutorial for Windows? I've never used Python. I have it installed and I have the .whl, but I keep getting errors.
    Quote Quote  
  13. Yes, just write a simple batch script to read a text file with all your movies in and download them. CHATGPT is very good for that.

    There is a guide to install Devine here -

    https://forum.videohelp.com/threads/416617-Semi-automated-guide-to-install-stabbedbybr...fork-of-Devine
    Quote Quote  
  14. Originally Posted by the-equalizer View Post
    Originally Posted by iamkennethy_ View Post
    Image
    [Attachment 86653 - Click to enlarge]


    ok im getting irritated, before i reinstalled devine i got the same error for tubi, now im getting the same error, i installed the EXACT versions required for devine and it still gives me this annoying error.
    I am no expert. But i'd be looking at the modules that download stuff, to make sure they are all installed.

    CCExtractor for extracting Closed Caption data like EIA-608 from video streams and converting as SRT.
    FFmpeg (and ffprobe) for repacking/remuxing streams on specific services, and evaluating stream data.
    MKVToolNix v54+ for muxing individual streams to an .mkv file.
    shaka-packager for decrypting CENC-CTR and CENC-CBCS video and audio streams.
    (optional) aria2(c) to use as a downloader.

    Also check 'devine env info' that the paths look correct.

    Post the errors you are getting.(if it tells you)

    Are you using a vpn? Can you watch it in a browser, without errors?
    Image
    [Attachment 86672 - Click to enlarge]


    idk how to see my errors, but this is what ts looks like on my end, plus i dont use a vpn
    Quote Quote  
  15. I have just tried downloading the same episode and it works fine.

    So, a couple more questions.

    Is this the only service you are having problems with?

    Where did you get your wvd from? (downloaded/created/extracted)

    Looking at your envs file, I assume you are using windows.

    Also it looks like it's failing and not downloading anything.

    So open a command prompt in windows. cmd.exe
    type:
    Code:
    pip list
    make sure that 'requests' is in the list, as that is the default downloader.




    Originally Posted by iamkennethy_ View Post
    Originally Posted by the-equalizer View Post
    Originally Posted by iamkennethy_ View Post
    Image
    [Attachment 86653 - Click to enlarge]


    ok im getting irritated, before i reinstalled devine i got the same error for tubi, now im getting the same error, i installed the EXACT versions required for devine and it still gives me this annoying error.
    I am no expert. But i'd be looking at the modules that download stuff, to make sure they are all installed.

    CCExtractor for extracting Closed Caption data like EIA-608 from video streams and converting as SRT.
    FFmpeg (and ffprobe) for repacking/remuxing streams on specific services, and evaluating stream data.
    MKVToolNix v54+ for muxing individual streams to an .mkv file.
    shaka-packager for decrypting CENC-CTR and CENC-CBCS video and audio streams.
    (optional) aria2(c) to use as a downloader.

    Also check 'devine env info' that the paths look correct.

    Post the errors you are getting.(if it tells you)

    Are you using a vpn? Can you watch it in a browser, without errors?
    Image
    [Attachment 86672 - Click to enlarge]


    idk how to see my errors, but this is what ts looks like on my end, plus i dont use a vpn
    Quote Quote  
  16. Member Ygramul's Avatar
    Join Date
    Jan 2007
    Location
    Poland
    Search Comp PM
    Originally Posted by peterb999 View Post
    Yes, just write a simple batch script to read a text file with all your movies in and download them. CHATGPT is very good for that.

    There is a guide to install Devine here -

    https://forum.videohelp.com/threads/416617-Semi-automated-guide-to-install-stabbedbybr...fork-of-Devine
    Thanks. It all looks farily complicated, especially for someone who never touched Python
    Quote Quote  
  17. Originally Posted by Ygramul View Post
    Originally Posted by peterb999 View Post
    Yes, just write a simple batch script to read a text file with all your movies in and download them. CHATGPT is very good for that.

    There is a guide to install Devine here -

    https://forum.videohelp.com/threads/416617-Semi-automated-guide-to-install-stabbedbybr...fork-of-Devine
    Thanks. It all looks farily complicated, especially for someone who never touched Python
    Try this... save it as anything you want devine_automate.py for example. Edit the commands with your URL. When you want to run it just do python devine_automate.py or you may need to do python3 devine_automate.py. It should then run through all the URLs within that python file.

    Code:
    import subprocess
    
    commands = [
        "devine dl TUBI URL",
        "devine dl TUBI URL",
        "devine dl TUBI URL"
    ]
    
    for command in commands:
        process = subprocess.run(command, shell=True)
        if process.returncode != 0:
            print(f"Error executing: {command}")
            break
    Quote Quote  
  18. Is there a guide to set up the N_m3U8DL-RE branch of Devine? I still use Freevine as much as I can so I think this branch of Devine would be preferable to me. I notice a drop in speed in downloading PLUTO with Devine as opposed to Freevine and I miss that speed and Freevine was much more forgiving in a lot of ways when it comes to downloading. However I am grateful that Devine has a Pluto Service now that Freevine's version is defunct. Both programs are terrific and thank you once again to stabbedbybrick.

    Ygramul: Yes it does take a lot of effort but it is worth it.
    Quote Quote  
  19. Originally Posted by Tom Saurus View Post
    PlutoTV now isn't working on Freevine either and nobody will fix that but there is hope that the Devine version will be fixed.

    I ran across on TUBI when trying to get Mr. Robot it does what it did with Tremors The Series. It says there is nothing to download. I might be able to get the episodes with WidevineProxy2 individualy so there is that.

    Easy fix, just used the devine script to fix the freevine script. So just rename the pluto.txt >> pluto.py and api.txt >> api.yaml and that should work within freevine.
    Image Attached Files
    Quote Quote  
  20. Originally Posted by Dravonvico View Post
    Originally Posted by Tom Saurus View Post
    PlutoTV now isn't working on Freevine either and nobody will fix that but there is hope that the Devine version will be fixed.

    I ran across on TUBI when trying to get Mr. Robot it does what it did with Tremors The Series. It says there is nothing to download. I might be able to get the episodes with WidevineProxy2 individualy so there is that.

    Easy fix, just used the devine script to fix the freevine script. So just rename the pluto.txt >> pluto.py and api.txt >> api.yaml and that should work within freevine.
    First off thank you for what you have done. It does work but it looks like it is prioritizing dash over hls. I downloaded a file and it did not have lip sync issues but that doesn't happen with ever Pluto Dash download but it happens enough to prioritize hls over DASH.

    I copied what you had in the respective text files and copied and replaced what was in the existing Freevine Pluto equivalents and that seemed to work for me.

    Perhaps this conversation if it continues should go over the Freevine thread as I don't want to distract from Devine which is also a terrific program.
    Quote Quote  
  21. Originally Posted by the-equalizer View Post
    I have just tried downloading the same episode and it works fine.

    So, a couple more questions.

    Is this the only service you are having problems with?

    Where did you get your wvd from? (downloaded/created/extracted)

    Looking at your envs file, I assume you are using windows.

    Also it looks like it's failing and not downloading anything.

    So open a command prompt in windows. cmd.exe
    type:
    Code:
    pip list
    make sure that 'requests' is in the list, as that is the default downloader.




    Originally Posted by iamkennethy_ View Post
    Originally Posted by the-equalizer View Post
    Originally Posted by iamkennethy_ View Post
    Image
    [Attachment 86653 - Click to enlarge]


    ok im getting irritated, before i reinstalled devine i got the same error for tubi, now im getting the same error, i installed the EXACT versions required for devine and it still gives me this annoying error.
    I am no expert. But i'd be looking at the modules that download stuff, to make sure they are all installed.

    CCExtractor for extracting Closed Caption data like EIA-608 from video streams and converting as SRT.
    FFmpeg (and ffprobe) for repacking/remuxing streams on specific services, and evaluating stream data.
    MKVToolNix v54+ for muxing individual streams to an .mkv file.
    shaka-packager for decrypting CENC-CTR and CENC-CBCS video and audio streams.
    (optional) aria2(c) to use as a downloader.

    Also check 'devine env info' that the paths look correct.

    Post the errors you are getting.(if it tells you)

    Are you using a vpn? Can you watch it in a browser, without errors?
    Image
    [Attachment 86672 - Click to enlarge]


    idk how to see my errors, but this is what ts looks like on my end, plus i dont use a vpn
    the wvd i have was downloaded and extracted from a zip file.

    i do have the requests thing on the pip list cmd, and the request version i have is 2.32.3
    Quote Quote  
  22. Image
    [Attachment 86739 - Click to enlarge]


    New install. Can anyone help me with error. Tried different vpn's but still same. Thank you.
    Quote Quote  
  23. Hi there,

    I am having trouble while downloading and it has been head scratching. Wondering if anyone could help to resolve this, thanks!

    Image
    [Attachment 86746 - Click to enlarge]
    Quote Quote  
  24. I have been able to get CBC working. It was a matter of getting a new Chrome Add On for getting cookies and then deleting a file named CBC in the Devine Cache folder. So it works fine though it is frustrating as it has a habit of dropping the download a fair bit. But with some additional effort you can archive what you want.
    Quote Quote  
  25. Member
    Join Date
    Nov 2006
    Location
    canada
    Search Comp PM
    Hi All
    I was trying to download a movie from Tubi and I get this error

    No Widevine PSSH was found for this track, is it DRM free?

    ❌ Download Failed...
    An unexpected error occurred in one of the download workers.
    See the error trace above for more information.


    Any suggestions? Please
    Quote Quote  
  26. 2nd Army Bridgeburners. WhiskeyJack's Avatar
    Join Date
    Aug 2024
    Location
    Torshavn
    Search PM
    Originally Posted by Tom Saurus View Post
    I have been able to get CBC working. It was a matter of getting a new Chrome Add On for getting cookies and then deleting a file named CBC in the Devine Cache folder. So it works fine though it is frustrating as it has a habit of dropping the download a fair bit. But with some additional effort you can archive what you want.
    You know there is no drm on CBC content? Use n-m3u8re on the master.m3u8 found in the inspection console, under network.
    Grab the url, edit it (change the desktop to smarttv) and it will grab most of what you need. Some additional work is needed (the 5.1 audio has to be concatinated. and the streams need to be muxed. But, hey it works.)
    Quote Quote  
  27. 2nd Army Bridgeburners. WhiskeyJack's Avatar
    Join Date
    Aug 2024
    Location
    Torshavn
    Search PM
    Originally Posted by mickmars View Post
    Hi All
    I was trying to download a movie from Tubi and I get this error

    No Widevine PSSH was found for this track, is it DRM free?

    ❌ Download Failed...
    An unexpected error occurred in one of the download workers.
    See the error trace above for more information.


    Any suggestions? Please

    Well, the error trace would be helpful, don't you think?
    How can anyone tell if the issue is caused by you, your installation and location, the target video or TUBI itself?
    Quote Quote  
  28. 2nd Army Bridgeburners. WhiskeyJack's Avatar
    Join Date
    Aug 2024
    Location
    Torshavn
    Search PM
    Originally Posted by james1985 View Post
    Image
    [Attachment 86739 - Click to enlarge]


    New install. Can anyone help me with error. Tried different vpn's but still same. Thank you.
    Have you entered your discoveryplus credentials in the config file?
    Quote Quote  
  29. Member
    Join Date
    Nov 2006
    Location
    canada
    Search Comp PM
    Originally Posted by WhiskeyJack View Post
    Originally Posted by mickmars View Post
    Hi All
    I was trying to download a movie from Tubi and I get this error

    No Widevine PSSH was found for this track, is it DRM free?

    ❌ Download Failed...
    An unexpected error occurred in one of the download workers.
    See the error trace above for more information.


    Any suggestions? Please

    Well, the error trace would be helpful, don't you think?
    How can anyone tell if the issue is caused by you, your installation and location, the target video or TUBI itself?
    There is no error trace -

    ──────────────────────── Deceptions (1990) ─────────────────────────────

    No Widevine PSSH was found for this track, is it DRM free?

    1 Video
    └── [H.264, SDR] | en | 646x480 @ 1312 kb/s, 29.970 FPS
    ⠙ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • --:-- • FAILED
    1 Audio
    └── [AAC] | en | 2.0 | 64 kb/s
    ⠙ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ • --:-- • SKIPPED


    ❌ Download Failed...
    An unexpected error occurred in one of the download workers.
    See the error trace above for more information.
    Quote Quote  
  30. 2nd Army Bridgeburners. WhiskeyJack's Avatar
    Join Date
    Aug 2024
    Location
    Torshavn
    Search PM
    Seems to be working fine here
    Image
    [Attachment 86789 - Click to enlarge]


    Image
    [Attachment 86790 - Click to enlarge]



    So, it seems the issue is at your end.
    Devine was installed via which method? pipx is the recommended approach, I don't care what some other randm stranger on the web says, it IS SUPPOSED to be installed via pipx https://pypi.org/project/devine/2.2.0/
    Code:
    pipx install devine
    Make sure you have the right requirements installed CORRECTLY on your systems path (I can not, nor will not help here, I use NIXOS, it's complicated enough to set up.)
    Quote Quote  



Similar Threads

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