VideoHelp Forum


Try StreamFab Downloader and download from Netflix, Amazon, Youtube! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!


Try StreamFab Downloader and download streaming video from Youtube, Netflix, Amazon! Download free trial.


+ Reply to Thread
Page 7 of 8
FirstFirst ... 5 6 7 8 LastLast
Results 181 to 210 of 217
Thread
  1. Originally Posted by A_n_g_e_l_a View Post
    ITVX batch downloader that downloads and merges subtitles.
    ...
    Absolutely no support! If you choose to use this software you are expected to be proficient at running python scripts and finding and installing dependencies .
    Hello!
    I'm a new user, but I've been reading this forum for a few months.
    I have to tell you, I didn't know Python but since I'm interested in downloading some videos I'm trying to learn and I've read a lot of threads about decrypting here.
    About this ITV downloader, I have a problem I can't resolve, even if I've tried on three different computers.
    I'm using:
    - Windows 11 and Python 3.11.5, I've installed some modules (google-api-python-client, protobuf 3.20.3, pycryptodomex, httpx, pyfiglet, pyperclip, selectolax, termcolor, pysubs2);
    - I've not installed pywidevine because I'm using this WKS-KEYS package https://github.com/weapon121/WKS-KEY/releases/tag/WKS-KEY (I've tested them with this site https://www.tg4.ie/en/player/online-boxsets/play/?pid=6281115686001&series=An%20Cuan&genre=Faisneis and they're working);
    - I put mp4decrypt in Windows PATH, while N_m3u8DL-RE, mkvmerge, ffmpeg are in the same WKS-KEYS folder.

    I was to able to download the video but I can't watch it even with VLC because it seems still encrypted (same problem of deccavox https://forum.videohelp.com/threads/408557-Decryption-The-Last-Crusade#post2680990). I've tried with different shows but always the same result.
    So, I would like to ask you for a little help because I have no ideas at this point.
    Thanks you in advance.
    Image Attached Thumbnails Click image for larger version

Name:	Screenshot1.jpg
Views:	58
Size:	207.7 KB
ID:	73457  

    Click image for larger version

Name:	Screenshot2.jpg
Views:	36
Size:	179.9 KB
ID:	73458  

    Quote Quote  
  2. False alarm. My fault, I've changed the keys set and now it works perfectly. Thank you to all, for your wonderful tutorials.
    Quote Quote  
  3. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Isotta View Post
    False alarm.
    Just like the hoards before you leaving a rubbish trail behind themselves. Perhaps new members could be forbidden from posting for 3 months?
    Quote Quote  
  4. Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Isotta View Post
    False alarm.
    Just like the hoards before you leaving a rubbish trail behind themselves. Perhaps new members could be forbidden from posting for 3 months?
    I'm sorry for causing frustration, but I really started from zero about this topic. Even though I've been reading this forum for longtime, for some reason I didn't get the 'starting' point until yesterday, after making a couple of questions. So, for me it was not worthless.
    Anyway, thank you again for you time and patience.
    Quote Quote  
  5. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Isotta View Post
    Originally Posted by A_n_g_e_l_a View Post
    Originally Posted by Isotta View Post
    False alarm.
    Just like the hoards before you leaving a rubbish trail behind themselves. Perhaps new members could be forbidden from posting for 3 months?
    I'm sorry for causing frustration, but I really started from zero about this topic. Even though I've been reading this forum for longtime, for some reason I didn't get the 'starting' point until yesterday, after making a couple of questions. So, for me it was not worthless.
    Anyway, thank you again for you time and patience.
    We all all start from zero. Think you are any different? That was me Feb '22. Only if you go back through my post history I doubt you'll find much like yours.

    No one minds answering relevant and meaningful questions. But it would seem you never tried to use your CDM to get the keys for the test sites. You needed to prove it was set-up correctly and working.

    You jump directly into using posted scripts and as soon as it fails - with a duff untested CDM , you start posting to the script author for whom the problem has no relevance whatsoever. The thread gets polluted with rubbish as a consequence.

    My email has been pinged a number of times from you blundering about looking for help which you should have sorted by following instructions in one of stickies on getting a CDM. It is small beer and of little consequence to you. I understand that.

    For me and other posters of scripts. however, we get a constant flow of newbies, casting around and double posting all over. Can you perhaps understand my impatience at getting a notification about my script not working from you when I know fully it is down to the operator and not the script?

    Yes you can say sorry after the event but that doesn't negate the pings and interruptions to my day. So keep off my threads if you will.

    Sadly you are not the first; I cannot fathom why adults can't work through a problem forensically without needing to rush to a forum to seek the help of strangers. But hey ho...
    Quote Quote  
  6. Nvm
    Quote Quote  
  7. Member
    Join Date
    Jul 2007
    Location
    United Kingdom
    Search Comp PM
    Have ITV changed something on their end again? Haven't used this for a few weeks but today I'm getting a 403.

    12:17:30.868 INFO : N_m3u8DL-RE (Beta version) 20230628
    12:17:30.875 INFO : Loading URL: https://itvpnpdotcom.blue.content.itv.com/Y-0757-0103-B/34/2/VAR028-HD-s/Y-0757-0103-B...76480548d196a8
    12:17:30.966 ERROR: One or more errors occurred. (Response status code does not indicate success: 403 (Forbidden).)
    Quote Quote  
  8. Hi Killer3737,

    I've just tried it now and I'm getting the same 403 (Forbidden) error as you are.
    Quote Quote  
  9. Is it Britbox content? if so it doesn't work
    Quote Quote  
  10. No, just normal ITV stuff.

    I've tried Classic Coronation Street and Crime - both get the same 403 permission denied error.

    I've tried it using my home IP and also on a hosted server with a completely different IP. Same error.
    Quote Quote  
  11. I wonder if my CDM has been unauthorised. I'll try downloading another CDM and see if it works.
    Quote Quote  
  12. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by peterb999 View Post
    I wonder if my CDM has been unauthorised. I'll try downloading another CDM and see if it works.
    Looks as if ITV has changed their cookies,
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  13. Thanks Angela, that would make sense. I'll have a look at the cookie's. I've downloaded the files manually so my wife is happy once again, haha.
    Quote Quote  
  14. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Had a brief further look and it needs specific headers for requests and the mpd request needs a bearer token which itself is a base64 jwt, it contains your login name and some personal data. So that can only come from reading your browser cookie. And it won't be a 2 minute job.
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  15. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    The error caused by a backend changeat ITV has been corrected.
    I would be grateful if users could migrate to https://forum.videohelp.com/threads/411684-ITVX-Revisited . There is a zip file for download at post #1. If you only need a single downloader then ITVX.py will do it. If you want a series explorer and downloader, then use itv_loader.py as your start script. It uses either WKS-KEYS or Pywidevine wvd. As set-up it used pywidevine - but that can be changed easily near the top of the script set PYWIDEVINE = False
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  16. Thanks Angela, that's very kind of you.

    Edit - The file shows as deleted on post #1 of the ITV Revisited thread.
    Quote Quote  
  17. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by peterb999 View Post
    Thanks Angela, that's very kind of you.

    Edit - The file shows as deleted on post #1 of the ITV Revisited thread.
    Head like a sieve these days fixed now.
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  18. Thanks for that
    Quote Quote  
  19. Hi,

    I'm using the bestITVX.py as from today and no matter what I try to download I get the following:

    ____ ______ _ __ _ __
    / _/ /_ __/ | | / / | |/_/
    _/ / / / | |/ / _> <
    /___/ /_/ |___/ /_/|_|


    SERIES download: Have the first video link ready in clipboard.
    Enter when ready!

    To download all series, enter 'all' below.
    Or to download a range, enter the series
    start number
    Which series start number? all
    The URL list has 12 video(s)
    Irvine_Welshs_Crime_S01E01
    Traceback (most recent call last):
    File "BestITVX.py", line 364, in <module>
    main()
    File "BestITVX.py", line 354, in main
    myITV.download(url)
    File "BestITVX.py", line 168, in download
    pssh = self._get_pssh(mpd_url)
    File "BestITVX.py", line 322, in _get_pssh
    LexborHTMLParser(r.text)
    AttributeError: 'NoneType' object has no attribute 'attributes'

    ....anyone got any ideas?

    Many Thanks.
    Quote Quote  
  20. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  21. Hi,

    Many thanks for the post. I downgraded httpx as suggested and I ran the new install from requirements.txt but I get the same error, whether I run ITVX.py
    The ITVX script complained about pysubs2 not being installed when it appeared to be:

    A Single ITVX Downloader:

    Enter video url for download.
    https://www.itv.com/watch/the-long-shadow/10a1937/10a1937a0001
    /usr/bin/python: No module named pysubs2
    Traceback (most recent call last):
    File "ITVX.py", line 268, in <module>
    main()
    File "ITVX.py", line 260, in main
    myITV.download(url)
    File "ITVX.py", line 167, in download
    pssh = self.get_pssh(mpd_url)
    File "ITVX.py", line 70, in get_pssh
    LexborHTMLParser(r.text)
    AttributeError: 'NoneType' object has no attribute 'attributes'


    ...so I changed it to use python3 (probably not a good thing to do - i'm not sure what I'm doing) but I still get the following error.


    A Single ITVX Downloader:

    Enter video url for download.
    https://www.itv.com/watch/the-long-shadow/10a1937/10a1937a0001
    Traceback (most recent call last):
    File "ITVX.py", line 268, in <module>
    main()
    File "ITVX.py", line 260, in main
    myITV.download(url)
    File "ITVX.py", line 167, in download
    pssh = self.get_pssh(mpd_url)
    File "ITVX.py", line 70, in get_pssh
    LexborHTMLParser(r.text)
    AttributeError: 'NoneType' object has no attribute 'attributes'


    ...all help appreciated.
    Quote Quote  
  22. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Pysubs2 gets missed by an automated requirements builder and I keep forgetting to add it manually so:-

    Code:
    pip install pysubs2==1.6.1
    will do it.

    Python 2 was dead in the water years ago - so python/ python3 are interchangeable.

    Try this as a last resort.

    Code:
    pip install httpx==1.0.0b0 --upgrade
    That will update a few other bits too.
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  23. I tried the suggestion, unfortunately I'm still getting the exact same error.

    By the way when I say I changed from python to python3 I mean within ITVX.py at line 153. If I don't do that it complains about module pysubs2, but when I try to install it, it says it's already there. If I do change that line then the pysubs2 error goes away - I'm guessing I must have it in the path for python3 or something like that.

    Once again, all help appreciated.
    Quote Quote  
  24. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Van Hoopy View Post
    I tried the suggestion, unfortunately I'm still getting the exact same error.

    By the way when I say I changed from python to python3 I mean within ITVX.py at line 153. If I don't do that it complains about module pysubs2, but when I try to install it, it says it's already there. If I do change that line then the pysubs2 error goes away - I'm guessing I must have it in the path for python3 or something like that.

    Once again, all help appreciated.
    your system seems to want to refer to python as python3. Not an issue.

    Could try removing the __pycache__ folder. It gets rebuilt at the next script run. Other than that I'm out of ideas.
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  25. Hi Van Hoopy,

    I would change Python3 back to Python in the ITVX.py, I don't think that should be causing the problem.

    If you do a PIP LIST in a command line does it say that PYSUBS2 is installed?

    How did you install Python3 on your system?

    I followed the guide here and it's always worked fine :

    https://www.tomshardware.com/how-to/install-python-on-windows-10-and-11
    Quote Quote  
  26. Hi,

    Thanks for the replies.

    If I change it back to python in ITVX.py I get no module pysubs2 found. If I keep it as python3 then it gets past that but fails with

    Code:
    Enter video url for download. 
    https://www.itv.com/watch/the-long-shadow/10a1937/10a1937a0001
    Traceback (most recent call last):
      File "ITVX.py", line 269, in <module>
        main()
      File "ITVX.py", line 261, in main
        myITV.download(url)
      File "ITVX.py", line 168, in download
        pssh = self.get_pssh(mpd_url)
      File "ITVX.py", line 71, in get_pssh
        LexborHTMLParser(r.text)
    AttributeError: 'NoneType' object has no attribute 'attributes'
    If I do a pip list it says I have 1.6.1 installed so I think my python3 installation although a little confusing is ok. The problem appears to be
    Code:
    LexborHTMLParser(r.text)
    where I think r is a null object!?!

    I had a look at the guide you posted but unfortunately it's for windows and I'm running linux mint.

    Although I did have a go at installing it on windows, I was stumped at the basics, I had a python shell/cmd line but I didn't know how to locate scripts on my hdd to run, I wanted to run
    Code:
    pip install -r  requirements.txt
    but I didn't know where to put the requirements.txt and other files etc...
    Quote Quote  
  27. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Van Hoopy View Post
    Hi,

    Thanks for the replies.

    If I change it back to python in ITVX.py I get no module pysubs2 found. If I keep it as python3 then it gets past that but fails with
    The aim is to get as far through the script without it failing. So keep python3 so that subtitles can be formatted by pysubs2.
    Your issue is still with httpx. Why the issue hasn't corrected by changing the httpx module I cannot tell.
    Note; r in the code stands for response and text references the text from the response. httpx isn't providing a response because it provokes a 403 not allowed message. Clearly your version of httpx is not sending all the background cookies as it should. ITV says not allowed. We've established that httpx==0.25.0 is no good. You tell me you've updated to another version. if the downgrade OR the upgrade to the beta version went through successfully you shouldn't have the issue. But you do.
    Conundrum. Its a python library issue I would guess.
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  28. Thanks for all the feedback so far, the explanations is helping me understand.

    I've checked with pip list and I had 0.23.0 version of httpx which I understand should be a compatible version. When I upgraded to the 1.0.0b0 it said the package had been yanked but it still installed, however it made no difference, the error reported was the same.

    Incidentally the stream (ITVX) does actually play in the browser.

    If I run it as sudo I get a different error message:

    Code:
    sudo python3 ITVX.py
         ____  ______  _   __  _  __  
        /  _/ /_  __/ | | / / | |/_/  
       _/ /    / /    | |/ / _>  <    
      /___/   /_/     |___/ /_/|_|    
                                      
    
    A Single ITVX Downloader:
    
    
    Enter video url for download. 
    https://www.itv.com/watch/the-long-shadow/10a1937/10a1937a0001
    Using pywidevine WVD on this machine
    Traceback (most recent call last):
      File "ITVX.py", line 269, in <module>
        main()
      File "ITVX.py", line 261, in main
        myITV.download(url)
      File "ITVX.py", line 169, in download
        key = self.get_key(pssh, lic_url)
      File "ITVX.py", line 87, in get_key
        device = Device.load(WVD_PATH)
      File "/usr/local/lib/python3.8/dist-packages/pywidevine/device.py", line 164, in load
        with Path(path).open(mode="rb") as f:
      File "/usr/lib/python3.8/pathlib.py", line 1222, in open
        return io.open(self, mode, buffering, encoding, errors, newline,
      File "/usr/lib/python3.8/pathlib.py", line 1078, in _opener
        return self._accessor.open(self, flags, mode)
    FileNotFoundError: [Errno 2] No such file or directory: '/home/user/android_sdk.wvd'
    I thought I had the android sdk installed, but I don't have an adndroid_sdk.wvd file - where does this file come from?

    Again, thanks for all the help.
    Quote Quote  
  29. Member
    Join Date
    Feb 2022
    Location
    Search the forum first!
    Search PM
    Originally Posted by Van Hoopy View Post
    I thought I had the android sdk installed, but I don't have an adndroid_sdk.wvd file - where does this file come from?

    Again, thanks for all the help.
    Not the same android sdk.

    You need to create a file - a WideVine Descriptor (wvd) that points to your device_private_key and your device_client_blob.

    VH is a great resource and you can be sure you are not the first to ask the question about creating a wvd.

    To avoid dependency and taking the time of others unnecessarily I recommend the search function.

    this is what I found:-
    https://forum.videohelp.com/threads/410429-Widevine-cdm-in-wvd-format#post2698071
    https://forum.videohelp.com/threads/407466-how-get-wvd#post2671448
    https://forum.videohelp.com/threads/407144-Help-with-Channel-4-Key-to-this-programme-a...se#post2668861
    plus a snippet
    Code:
    # To create a wvd file (use full paths):
    # pywidevine create-device -k "path/to/device_private_key" -c "path/to/device_client_id_blob" -t "ANDROID" -l 3 -o "output_path".
    I chose to call my WVD 'android_sdk' for that is where the key and blob originated!
    If using windows python 3.11 seems not to work for me creating a wvd. But I was using an emulator. Others may have different results.
    Want to PM me? Just ask in the forum first.
    Quote Quote  
  30. Member
    Join Date
    Nov 2006
    Location
    United Kingdom
    Search Comp PM
    Is there a dummies guide to this anywhere ?
    I've downloaded Stream detector and the lastest Python and installed it.

    I have absolutely no idea what to do next ?

    Thanks
    Quote Quote  



Similar Threads

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