question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't download ITV hub show

See original GitHub issue

Checklist

  • I’m asking a question
  • I’ve looked through the README and FAQ for similar questions
  • I’ve searched the bugtracker for similar questions including closed ones

Question

I am trying to download a show from the ITV hub (here: https://www.itv.com/hub/the-ellen-degeneres-show/2a4350a1024). Using Stream Detector on Firefox, I get the following code to paste into Youtube-dl:

youtube-dl --no-part --restrict-filenames --user-agent "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:94.0) Gecko/20100101 Firefox/94.0" --add-header "Cookie:Itv.Session={%22tokens%22:{%22content%22:{%22entitlement%22:{%22purchased%22:[]%2C%22failed_availability_checks%22:[]%2C%22source%22:%22%22}%2C%22email_verified%22:true%2C%22access_token%22:%22eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2F1dGguaXR2LmNvbSIsInN1YiI6IjZkYmFmYWU3LTU0NzYtNDNmYS1hYWEwLTAwODQxYmY2OTFkMSIsImV4cCI6MTYzNzg0MjMwMiwiaWF0IjoxNjM3NzUyMzAyLCJicm9hZGNhc3RFcnJvck1zZyI6IiIsImJyb2FkY2FzdFJlc3BvbnNlQ29kZSI6IjIwMCIsImJyb2FkY2FzdGVyIjoiSVRWIiwiaXNBY3RpdmUiOnRydWUsIm5vbmNlIjoiZGdSQ1gzWWVkNURvWWl6VjhQN20iLCJuYW1lIjoiU2VhbiIsInNjb3BlIjoiY29udGVudCIsImVudGl0bGVtZW50cyI6W10sInBheW1lbnRTb3VyY2UiOiIiLCJzaG93UHJpdmFjeU5vdGljZSI6ZmFsc2UsInVuZGVyMTgiOmZhbHNlfQ.Da_C_X8gHGWh6QBo1Im_hqspwvo9z8XVKkItpCqKW9BYtJVivSSB5eqO-b1Q9U8fk9QN5IqXTM2nOHe22BUTm02rcKUXgsTJ41pRqaAuAquuSXkPpZSnOgbiE0flsEnQN78mfTzs0k9jvLO-A0QT939NowHCcd8_BfbdFCrE11FI0zCFyTHKatVuS9j1bDK98Nd2O61iphtBcmNBwaql1p94okb6QWYSI3kqFyNBICgziTwi-6t-kCZ76_wSopIPUuQ21oRz4911esS3kBId4SdrUcSpezAgUS-_GS3XpCMiOLWGJ69fXU3qzkXP8NRLYSxcf_RTU4QkmWs6kjvaXg%22%2C%22token_type%22:%22bearer%22%2C%22refresh_token%22:%22eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.eyJpc3MiOiJodHRwczovL2F1dGguaXR2LmNvbSIsInN1YiI6IjZkYmFmYWU3LTU0NzYtNDNmYS1hYWEwLTAwODQxYmY2OTFkMSIsImV4cCI6NDc5MzQyNTkwMiwiaWF0IjoxNjM3NzUyMzAyLCJub25jZSI6ImRnUkNYM1llZDVEb1lpelY4UDdtIiwic2NvcGUiOiJjb250ZW50IiwiYXV0aF90aW1lIjoxNjM3NzUyMzAyfQ.GV1cqako7yaGvA393O9oa9cVhX0I-Sw5M2wSR1gg5RAYt1lzYIY0T2nLUu3xLte8p1JqlAVb_1IEV_Yts12dxQTHVmDupqA33dKIlA0Pxxkq1Mv8x5WjjOuVgnmjf1lmm7Ygt8560V9olis5fKlONa4QNrsX1c4O0RNr630WzPBbFk6e1PsGJ2bVOBxp5ja8kzun-_oOCjonrQOxTHj3-e9RmyCVJdbRLzpFkfJf_n03zNXly_d-uBad3vodfHemv8dQJeXXKSDQGVAq3idlPj77bEHfRkfmE6yUMBjMlZSF_C3HfqomFyN84wNw9JiQLMumwP2tHNpfnYVvqBWy4Q%22}}%2C%22sticky%22:true}; mid=1709081696670734686; _cs_c=1; _cs_id=8fcd982a-e516-ad59-e9f0-5ec3cfcfacdc.1637751312.1.1637752301.1637751312.1.1671915312583; _cs_s=7.0.0.1637754101993; __utma=187186800.658762206.1637751313.1637751313.1637751313.1; __utmb=187186800.13.9.1637752166735; __utmc=187186800; __utmz=187186800.1637751313.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); _hjSessionUser_1586194=eyJpZCI6IjcyMmJhMjBmLWU5MzEtNTA1YS1iYjYyLWFhMTI3NTBkMTViOSIsImNyZWF0ZWQiOjE2Mzc3NTEzMTMwODcsImV4aXN0aW5nIjp0cnVlfQ==; _hjFirstSeen=1; _hjSession_1586194=eyJpZCI6IjQ2MTY2NDM1LThhZTQtNGJhOC05NjAzLTM4ZTBjOGVjMjY1MiIsImNyZWF0ZWQiOjE2Mzc3NTEzMTMwOTN9; _hjAbsoluteSessionInProgress=0; Itv.CookiePolicy.v2=accepted; Itv.Region=ITV|null; __utmt_UA-17825253-53=1" --referer "https://www.itv.com/" "https://itvpnpdotcom.cdn1.content.itv.com/2-4350-1024-001/18/1/VAR028/2-4350-1024-001_18_1_VAR028.ism/.mpd?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9pdHZwbnBkb3Rjb20uY2RuMS5jb250ZW50Lml0di5jb20vMi00MzUwLTEwMjQtMDAxLzE4LzEvVkFSMDI4LzItNDM1MC0xMDI0LTAwMV8xOF8xX1ZBUjAyOC5pc20vKiIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTYzNzc3NTcwM319fV19&Signature=InPnv~NiUQzV2St09QxkG5u63iiUWKbWsV4V5csiShiz0YOEVf9gy7OvYAPRCPXjSg2T95wzshNY8Whl92I2AMBv69jyyrY0s8zGI7ja6dMxZB0mbxyg5L8M15Y2TnwwgTSnfqpDfX9HkZdBZXnhRt~Ko6cbPf-Ao8NcI0-DcNFKrAuw8AQIECo-F4YFdECk9AcqPcgWvIVJngUYhQmQY97foz2~13UhTK7H-DbGqyYyocgt-YDeNfBCnLfoBotVDqe2q6laK81wX5BGHiEKzj44t3hHqE-H4GUhfq8vHeHYbyeR92pDSjAlNGuW4CYxQqXRTQl70fI6dN~PP32rKg__&Key-Pair-Id=APKAJB7PCFZAZHWZVIBA"

However, this produces the following error:

ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:25 (11 by maintainers)

github_iconTop GitHub Comments

3reactions
seanadlcommented, Nov 26, 2021

| age -a -r age1zkz9g0kld97vs826j0r7p3ghvz3zcyd4tcqr2vrxpt0uux7mkycsl77hy6

Here is what I get: YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IFgyNTUxOSBBcEJVTDNoWS9JbnhWa0t5 MnA4YWFNL3FrZkhpL2FyaDZSaHROaFBvSW5FCmxZeDlJUXgwbGtvNHZOdHFTU3Va VWMyZjF4K2JPbllCbHVqTnJiZ3B3RlUKLS0tIEQyWi9nWm4vdExnakJ6ZGloZXgy MHpRa0h0Z2UxdXQwaS9CVmpYRnZmSEEKGsbNOd51mCWzJbUcbMTLeEo7UaljKt84 29QazEQhUU6RE3+r/jgSa4gr4cbGWtqL4aNrjTGD37DpBz9MfJOgEPs=

This is the actual video I’m trying to download: https://www.itv.com/hub/the-ellen-degeneres-show/2a4350a1027

2reactions
dirkfcommented, Nov 24, 2021

Here is PR https://github.com/ytdl-org/youtube-dl/pull/30266 which basically back-ports the yt-dlp extractor for ITV.

As far as I can see, the API request for test #1 (Plebs S1E1) gives 404 unless you’re logged in, but I’d be happy to add a different test or fix the extractor to make the test work.

However, test #2 (J Ross S17E08) runs, except that the test skips the download (M3U8, expected).

Bad news for OP. As suggested, the extractor identifies the Ellen episode as ‘No downloads available’, because the available media types are:

{
  'mobile': [
  ],
  'dotcom': [
    ['mpeg-dash',
    'outband-webvtt',
    'playready'],
    [
      'mpeg-dash',
      'widevine'
    ],
    [
      'fairplay',
      'hls',
      'outband-webvtt'
    ],
    [
      'mpeg-dash',
      'outband-webvtt',
      'widevine'
    ],
    [
      'fairplay',
      'hls'
    ],
    [
      'mpeg-dash',
      'playready'
    ]
  ]
}

So no non-DRM formats.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why can't I download a show? - ITV Hub Help
There are a couple of reasons as to why you can't download a particular show: - It may only be available for 7...
Read more >
Can You Download From ITV Hub? - (Fool-Proof Guide!)
Your device's WiFi connection may not be strong enough to handle the download. Make sure that ...
Read more >
Why can't I download ITVX app from the Google Play Store?
Would you like to download the ITV Hub app from Google Play Store but can't even find the application in the Google Play...
Read more >
How to watch ITV HUB in the USA in 2022 - Cybernews
When you try to access ITV without a VPN, you will be met with an error code. This tells you that ITV channels...
Read more >
How to Watch ITV Hub Abroad (Outside UK) for Free with a VPN
However, this "block all VPNs" approach means that users can't reap the privacy benefits of a VPN while using the service, even if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found