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

dvtv extractor does not work #18514

Closed
honzahosek opened this issue Dec 13, 2018 · 1 comment
Closed

dvtv extractor does not work #18514

honzahosek opened this issue Dec 13, 2018 · 1 comment

Comments

@honzahosek
Copy link

@honzahosek honzahosek commented Dec 13, 2018

  • I've verified and I assure that I'm running youtube-dl 2018.12.09

Before submitting an issue make sure you have:

  • At least skimmed through the README, most notably the FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones
  • Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

dvtv extractor stopped to work recently. I think the site changed player.
https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/dvtv.py

$ youtube-dl -v https://video.aktualne.cz/dvtv/havlikova-zeny-vydelavaji-mene-nez-muzi-a-doma-je-ceka-druha/r~70ab783ef7af11e8bf040cc47ab5f122/
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://video.aktualne.cz/dvtv/havlikova-zeny-vydelavaji-mene-nez-muzi-a-doma-je-ceka-druha/r~70ab783ef7af11e8bf040cc47ab5f122/']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.12.09
[debug] Python version 3.6.4 (CPython) - Linux-4.18.0-2-amd64-x86_64
[debug] exe versions: ffmpeg 4.0.3-1, ffprobe 4.0.3-1
[debug] Proxy map: {}
[dvtv] 70ab783ef7af11e8bf040cc47ab5f122: Downloading webpage
ERROR: Could not find neither video nor playlist; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.


@eduardog3000
Copy link

@eduardog3000 eduardog3000 commented Dec 14, 2018

Definitely looks like the extractor needs to be updated.

This looks like a good place to start:

tracks: {"HLS":[],"DASH":[],"MP4":[{"src":"https:\/\/1053041200.rsc.cdn77.org\/migration\/d3\/1a7d31ea884d36c1b8ea98f6acf1e772_0720m_01_16.mp4","type":"video\/mp4","label":"720p"},{"src":"https:\/\/1053041200.rsc.cdn77.org\/migration\/d3\/1a7d31ea884d36c1b8ea98f6acf1e772_0360m_01_10.mp4","type":"video\/mp4","label":"360p","default":true},{"src":"https:\/\/1053041200.rsc.cdn77.org\/migration\/d3\/1a7d31ea884d36c1b8ea98f6acf1e772_0180m_01_6.mp4","type":"video\/mp4","label":"180p"}]}

It has direct links to the video in MP4 in various qualities.

Here's the full <script> block that it's in for anyone who wants to try:

<script type="text/javascript">


	BBXPlayer.id = 'embeddc0768de855511e49e4b0025900fea04';
			BBXPlayer.setup(
{
	autoplay: true,
	width: '782',
	preferredLang: ['cze', 'en'],
	language: 'cs',
	height: '440',	duration: 1484,
	title: 'Vondra o Česk&eacute;m stolet&iacute;: Při pohledu na Havla mi bylo trapně',
	tracks: {"HLS":[],"DASH":[],"MP4":[{"src":"https:\/\/1053041200.rsc.cdn77.org\/migration\/d3\/1a7d31ea884d36c1b8ea98f6acf1e772_0720m_01_16.mp4","type":"video\/mp4","label":"720p"},{"src":"https:\/\/1053041200.rsc.cdn77.org\/migration\/d3\/1a7d31ea884d36c1b8ea98f6acf1e772_0360m_01_10.mp4","type":"video\/mp4","label":"360p","default":true},{"src":"https:\/\/1053041200.rsc.cdn77.org\/migration\/d3\/1a7d31ea884d36c1b8ea98f6acf1e772_0180m_01_6.mp4","type":"video\/mp4","label":"180p"}]},
	adverttime: -1,
	mediaid: 'dc0768de855511e49e4b0025900fea04',
	ads: true,
	single: true,
	startTime: 0,
	debug: true,
	plugins: {
						playedTicks: { },
		tracking: { },
		Etrack: { },
		settings: {
			qualities: { }
		},
		measuring: {
			streamInfo: {
				programID: 'dc0768de855511e49e4b0025900fea04',
				programName: 'Vondra o Česk&eacute;m stolet&iacute;: Při pohledu na Havla mi bylo trapně',
				programType: 'video',
				series: htmldeentitize('video'),
				programDuration: 1484,
				videoID: 'dc0768de855511e49e4b0025900fea04'
			},
			services: {
				gemius: {
					playerID: 'embeddc0768de855511e49e4b0025900fea04',
					accountID: 'zU2aoeepfyJK4blK4Y4azGZUDmyNkcMAjJOP1xqs2rD.r7'
				}
			}
		},
			}
}
);
	BBXPlayer.runSetup();


</script>

Source is the first test video in the extractor: http://video.aktualne.cz/dvtv/vondra-o-ceskem-stoleti-pri-pohledu-na-havla-mi-bylo-trapne/r~e5efe9ca855511e4833a0025900fea04/

@jfriesse jfriesse mentioned this issue Feb 9, 2019
5 of 9 tasks complete
@remitamine remitamine closed this in b9aad6c Apr 6, 2019
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.