VideoHelp Forum

+ Reply to Thread
Results 1 to 4 of 4
Thread
  1. Hi Guys,

    I was wondering if someone could help me with yt-dlp downloads on ITV website. I have the latest yt-dlp released a day ago and provided my credentials to try download some videos from itv.com, the link I also retrieved from Firefox Media Stream Detector. The --user-agent parameter I used was copied off this post.

    Please let me know what I am doing wrong.

    Many thanks in advance for the help.

    -Jeffrey


    Code:
    yt-dlp.exe -u cj811@hotmail.com -p hello123 --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0" "https://itvpnpdotcom.cdn1.content.itv.com/2-2734-0108-001/18/1/VAR028/2-2734-0108-001_18_1_VAR028.ism/.mpd?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9pdHZwbnBkb3Rjb20uY2RuMS5jb250ZW50Lml0di5jb20vMi0yNzM0LTAxMDgtMDAxLzE4LzEvVkFSMDI4LzItMjczNC0wMTA4LTAwMV8xOF8xX1ZBUjAyOC5pc20vKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTYzODQzNjM3NX19fV19&Signature=DtffoHchv0X7dIxTJHep5Hk6~CiEQRQIUZ8wWBDCXGZ2yi88IXk0XXuUNVV9HqNlmUFbTn8Ryq~R4eLAPyWk8FCsV1KRUBn9Tj20O6cIZ~2K2HDWGiFfQeZCMePCZvejhZGrrzMD3MJNCp8EGDeZ1CPn~u~ZCQB937AafYB8hqwvuPz4FMTapkObc4ZCAFKEy6SGUlBBBPpQTHOGyRWvj795qt1uZUhsCFNhd5lFgmprsfjOW7PhKWIcB3sYfh~fKEeKmex9jjQzIdKU7ZcA55VwvDrVx5zxJRWfrD1mtcVqGFqVbarkd6LrYeEtzuH9cDO~svYf8WWP43TOIF9pqA__&Key-Pair-Id=APKAJB7PCFZAZHWZVIBA" --verbose
    [debug] Command-line config: ['-u', 'PRIVATE', '-p', 'PRIVATE', '--user-agent', 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0', 'https://itvpnpdotcom.cdn1.content.itv.com/2-2734-0108-001/18/1/VAR028/2-2734-0108-001_18_1_VAR028.ism/.mpd?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9pdHZwbnBkb3Rjb20uY2RuMS5jb250ZW50Lml0di5jb20vMi0yNzM0LTAxMDgtMDAxLzE4LzEvVkFSMDI4LzItMjczNC0wMTA4LTAwMV8xOF8xX1ZBUjAyOC5pc20vKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTYzODQzNjM3NX19fV19&Signature=DtffoHchv0X7dIxTJHep5Hk6~CiEQRQIUZ8wWBDCXGZ2yi88IXk0XXuUNVV9HqNlmUFbTn8Ryq~R4eLAPyWk8FCsV1KRUBn9Tj20O6cIZ~2K2HDWGiFfQeZCMePCZvejhZGrrzMD3MJNCp8EGDeZ1CPn~u~ZCQB937AafYB8hqwvuPz4FMTapkObc4ZCAFKEy6SGUlBBBPpQTHOGyRWvj795qt1uZUhsCFNhd5lFgmprsfjOW7PhKWIcB3sYfh~fKEeKmex9jjQzIdKU7ZcA55VwvDrVx5zxJRWfrD1mtcVqGFqVbarkd6LrYeEtzuH9cDO~svYf8WWP43TOIF9pqA__&Key-Pair-Id=APKAJB7PCFZAZHWZVIBA', '--verbose']
    [debug] Encodings: locale cp1252, fs utf-8, out utf-8, err utf-8, pref cp1252
    [debug] yt-dlp version 2021.11.10.1 (win_exe)
    [debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19042-SP0
    [debug] exe versions: none
    [debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
    [debug] Proxy map: {}
    [debug] [generic] Extracting URL: https://itvpnpdotcom.cdn1.content.itv.com/2-2734-0108-001/18/1/VAR028/2-2734-0108-001_18_1_VAR028.ism/.mpd?Policy=eyJ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1CPn~u~ZCQB937AafYB8hqwvuPz4FMTapkObc4ZCAFKEy6SGUlBBBPpQTHOGyRWvj795qt1uZUhsCFNhd5lFgmprsfjOW7PhKWIcB3sYfh~fKEeKmex9jjQzIdKU7ZcA55VwvDrVx5zxJRWfrD1mtcVqGFqVbarkd6LrYeEtzuH9cDO~svYf8WWP43TOIF9pqA__&Key-Pair-Id=APKAJB7PCFZAZHWZVIBA: Requesting header
    WARNING: [generic] Falling back on generic information extractor.
    [generic] .mpd?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9pdHZwbnBkb3Rjb20uY2RuMS5jb250ZW50Lml0di5jb20vMi0yNzM0LTAxMDgtMDAxLzE4LzEvVkFSMDI4LzItMjczNC0wMTA4LTAwMV8xOF8xX1ZBUjAyOC5pc20vKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTYzODQzNjM3NX19fV19&Signature=DtffoHchv0X7dIxTJHep5Hk6~CiEQRQIUZ8wWBDCXGZ2yi88IXk0XXuUNVV9HqNlmUFbTn8Ryq~R4eLAPyWk8FCsV1KRUBn9Tj20O6cIZ~2K2HDWGiFfQeZCMePCZvejhZGrrzMD3MJNCp8EGDeZ1CPn~u~ZCQB937AafYB8hqwvuPz4FMTapkObc4ZCAFKEy6SGUlBBBPpQTHOGyRWvj795qt1uZUhsCFNhd5lFgmprsfjOW7PhKWIcB3sYfh~fKEeKmex9jjQzIdKU7ZcA55VwvDrVx5zxJRWfrD1mtcVqGFqVbarkd6LrYeEtzuH9cDO~svYf8WWP43TOIF9pqA__&Key-Pair-Id=APKAJB7PCFZAZHWZVIBA: Downloading webpage
    ERROR: [generic] Unable to download webpage: HTTP Error 403: Forbidden (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output. (caused by <HTTPError 403: 'Forbidden'>); please report this issue on  https://github.com/yt-dlp/yt-dlp . Make sure you are using the latest version; type  yt-dlp -U  to update. Be sure to call yt-dlp with the --verbose flag and include its complete output.
      File "yt_dlp\extractor\common.py", line 713, in _request_webpage
      File "yt_dlp\YoutubeDL.py", line 3295, in urlopen
      File "urllib\request.py", line 531, in open
      File "urllib\request.py", line 640, in http_response
      File "urllib\request.py", line 569, in error
      File "urllib\request.py", line 502, in _call_chain
      File "urllib\request.py", line 649, in http_error_default
    Quote Quote  
  2. You are using the 'wrong' mpd... The one starting with 'https://itvpnpdotcom.cdn1.content.itv.com' will give a 403 error.
    Refresh the page until you get the one starting 'https://itvpnpdotcom.content.itv.com' (note the cdn1 has gone) - it may take several refreshes.

    I believe you also won't need the username, password or headers either. just --allow-u
    Quote Quote  
  3. Friends (plural) please do not do this. This applies to all learners. Never post user name and password to public sites.

    -u cj811@hotmail.com -p hello123 (I checked them and as of this posting they are good)

    I hope these are fake else please change them.

    the mpd you provided is incorrect as per T33V33.

    To test whether you have the correct mpd, copy and paste the url into your browser and if the url is correct then the browser will download the mpd.

    My dear friend Randall, I have changed your password in order to protect you. Please contact me to get new password.
    Quote Quote  
  4. Deceased
    Join Date
    Dec 2007
    Search PM
    Originally Posted by jack_666 View Post
    the mpd you provided is incorrect as per T33V33.
    The cloudfront cdn (the one using query string parameters beginning with "?Policy=ey") will download if all of the header values are included. The other cdn (using query string parameters beginning with "?hdnea=") doesn't require any headers.
    Last edited by blimey; 17th Dec 2021 at 05:28.
    Quote Quote  



Similar Threads