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.

Some STV Player downloads (only numbers after episode) fail to download

See original GitHub issue

Checklist

  • I’m reporting a broken site support
  • I’ve verified that I’m running youtube-dl version 2020.12.31
  • I’ve checked that all provided URLs are alive and playable in a browser
  • I’ve checked that all URLs and arguments with special characters are properly quoted or escaped
  • I’ve searched the bugtracker for similar issues including closed ones

Verbose log

NOT WORKING URL

youtube-dl.exe -v https://player.stv.tv/episode/4171/pride-of-scotland
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://player.stv.tv/episode/4171/pride-of-scotland']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.12.31
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[stv:player] 4171: Downloading JSON metadata
ERROR: Unable to download JSON metadata: HTTP Error 404: Not Found (caused by HTTPError()); 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.
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\extractor\common.py", line 632, in _request_webpage
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpabf7r3hs\build\youtube_dl\YoutubeDL.py", line 2248, in urlopen
  File "C:\Python\Python34\lib\urllib\request.py", line 470, in open
  File "C:\Python\Python34\lib\urllib\request.py", line 580, in http_response
  File "C:\Python\Python34\lib\urllib\request.py", line 508, in error
  File "C:\Python\Python34\lib\urllib\request.py", line 442, in _call_chain
  File "C:\Python\Python34\lib\urllib\request.py", line 588, in http_error_default

WORKING URL

youtube-dl.exe -v https://player.stv.tv/episode/416h/emmerdale
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://player.stv.tv/episode/416h/emmerdale']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2020.12.31
[debug] Python version 3.4.4 (CPython) - Windows-10-10.0.19041
[debug] exe versions: none
[debug] Proxy map: {}
[stv:player] 416h: Downloading JSON metadata
[brightcove:new] 6218771372001: Downloading JSON metadata
[brightcove:new] 6218771372001: Downloading JSON metadata
[brightcove:new] 6218771372001: Downloading m3u8 information
[brightcove:new] 6218771372001: Downloading m3u8 information
[brightcove:new] 6218771372001: Downloading m3u8 information
[brightcove:new] 6218771372001: Downloading m3u8 information
[brightcove:new] 6218771372001: Downloading MPD manifest
[brightcove:new] 6218771372001: Downloading MPD manifest
[brightcove:new] 6218771372001: Downloading MPD manifest
[brightcove:new] 6218771372001: Downloading MPD manifest
[debug] Default format spec: best/bestvideo+bestaudio
[debug] Invoking downloader on 'https://manifest.prod.boltdns.net/manifest/v1/hls/v3/clear/1486976045/a377aec0-a06a-4753-bc32-bc1df2f31e7c/b8a4f60b-8982-4f8a-91ca-bf6e4f0ce116/2b70927e-ad9e-429e-8088-1be62f8ba229/10s/rendition.m3u8?fastly_token=NjAxNTQ3NWRfMjc4Y2FhNDFmNjZkYTEzMzgwYTAyMWFhMzU4OWQ1ODdhYTk2NzUzMDRjOTZjMjE3ZWU0YmU4MmYzOGRjOTRhNA%3D%3D'
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 281
[download] Destination: Emmerdale - Friday, January 1, 2021-6218771372001.mp4
[download] 100% of 1.24GiB in 02:04

Description

Some STV Player videos fail to download. Seems to only be ones with all numbers after episode. Previous requests have said this service needs an account but that may just be to browse the website itself. (registration requires a Scottish postcode)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:5

github_iconTop GitHub Comments

4reactions
remitaminecommented, Jan 3, 2021

support for this URLs will be included in the next version.

0reactions
Vangelis66commented, Jan 3, 2021

support for this URLs will be included in the next version.

Your promptness and high expertise are greatly appreciated 👍 👍 I just took a look into https://github.com/ytdl-org/youtube-dl/commit/ac71fd5 and it wasn’t an easy fix either… Many congrats!

I just compiled from the master branch (py3.7.9, pyinstaller 4.1) and your fix works magnificently here:

youtube-dl -F "https://player.stv.tv/episode/4125/jennifer-saunders-memory-lane" -v > verbose-stv-log.txt 2>&1

=> verbose-stv-log.txt

All the best!

PS: For completeness, could the invalid label here be replaced with a duplicate one?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do downloads work? - STV | Help & Support
Failed downloads can be re-initiated any time until the desired episode has expired from the platform. The download feature is not available on ......
Read more >
Error STV11 after adverts finish playing - YouView Community
Whilst watching things on the STV player, after the adverts finish and the show resumes, the error "STV11" appears, press OK to continue....
Read more >
ITV Player not working, Dec 2022 - Product Reviews Net
Itv Hub not working correctly since ItvX update, goes to Black screen during programmes or just kicks back to home screen, I am...
Read more >
STV Player on the App Store
Read reviews, compare customer ratings, see screenshots and learn more about STV Player. Download STV Player and enjoy it on your iPhone, ...
Read more >
ITV Hub not working with VPN? Here are some EASY fixes ...
The next way ITV Player – and other online streaming sites such as Netflix and BBC iPlayer – block VPNs is pretty simple....
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 Reddit Thread

No results found

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