Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: Broken Site: TVP (specifically, Teleexpress @ TVP) #22160

Open
the-researcher opened this issue Aug 20, 2019 · 4 comments
Open

Issue: Broken Site: TVP (specifically, Teleexpress @ TVP) #22160

the-researcher opened this issue Aug 20, 2019 · 4 comments

Comments

@the-researcher
Copy link

@the-researcher the-researcher commented Aug 20, 2019

Checklist

  • I'm reporting a broken site support
  • I've verified that I'm running youtube-dl version 2019.08.13
  • 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

[debug] System config: [u'-o', u'/mnt/external/youtube-dl/%(title)s.%(ext)s']
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'--format', u'bestvideo+bestaudio/best', u'--merge-output-format', u'mp4', u'https://vod.tvp.pl/video/teleexpress,15082019-1700,43664673']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.08.13
[debug] Python version 2.7.13 (CPython) - Linux-4.14.66+-armv7l-with-debian-9.9
[debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1
[debug] Proxy map: {}
[tvp] 43664673: Downloading webpage
[tvp:embed] 43664673: Downloading webpage
ERROR: tvp:embed said: Transmisja została zakończona lub materiał niedostępny
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 530, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/tvp.py", line 129, in _real_extract
    self.IE_NAME, clean_html(error)), expected=True)
ExtractorError: tvp:embed said: Transmisja zosta\u0142a zako\u0144czona lub materia\u0142 niedost\u0119pny

Description

In previous versions of youtube-dl, I have been able to successfully download episodes of Teleexpress from TVP. However, with the updated version of youtube-dl, I am getting an error (translated into English) of this content is either unavailable, or tranmission has ceased.

I can confirm that I can see TVP VOD content through my VPN on my computer. However, when I try to download the content with youtube-dl, I am getting an error.

For what it's worth, I can use the m3u8x extractor to pull the content to my machine, and manually remux to an mp4 format... but youtube-dl was wonderful and easier to use.

Please, please, please fix!

@supercoil
Copy link

@supercoil supercoil commented Nov 10, 2019

As far as I can tell, there's a problem with the highest quality audio/video that youtube-dl tries to download automatically when no further options are given. Here's a sample output from a TVP programme with youtube-dl -F (I've removed a few formats for clarity):

[Info] Available formats for 44938430:
format code extension resolution note
mss-audio-175 isma audio only 175k , AACL (44100Hz)
[...]
mss-video-3199 ismv 1280x720 3199k , H264, video only
mss-video-4489 ismv 1920x1080 4489k , H264, video only
hds-570 flv 398x224 570k
hls-570 mp4 398x224 570k , avc1.64000d, 25.0fps, mp4a.40.2
http-570 mp4 398x224 570k , avc1.64000d, 25.0fps, mp4a.40.2
[...]
hds-4663 flv 1920x1080 4663k
hls-4663 mp4 1920x1080 4663k , avc1.640028, 25.0fps, mp4a.40.2 (best)

youtube-dl tries to download the .isma audio and highest quality .ismv video files and then merge them, but these give the following error:
[download] Got server HTTP error: HTTP Error 400: Bad Request. Retrying fragment 1 (attempt 1 of 10)...
I get the same error when I try to manually download these with youtube-dl -f. When I try the bottom (best) format with youtube-dl -f hls-4663 it works fine.

@supercoil
Copy link

@supercoil supercoil commented Dec 7, 2019

Works again with version 2019.11.28

@supercoil
Copy link

@supercoil supercoil commented Dec 7, 2019

Well, I thought it worked, but it's not 100%. I tried a few episodes, including ones that didn't work earlier, and they were OK. But then a few other episodes gave the same error I mentioned before.

@the-researcher
Copy link
Author

@the-researcher the-researcher commented Dec 10, 2019

Unsure of this hold-over fix, but instead of simply providing the URL, I have had better success in forcing which format to pick.

So, this doesn't work:
youtube-dl https://vod.tvp.pl/sess/player/video/45398537

(I'm taking the video UUID (in this case, 45398537), and adding it to the base sess player used by the site)

But this works:
youtube-dl https://vod.tvp.pl/sess/player/video/45398537 -f 'hls-4749'

@aucampia aucampia mentioned this issue Oct 4, 2020
5 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.