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

Motor Trend on Demand #23317

Open
5 tasks done
tv21 opened this issue Dec 5, 2019 · 11 comments · May be fixed by #32235
Open
5 tasks done

Motor Trend on Demand #23317

tv21 opened this issue Dec 5, 2019 · 11 comments · May be fixed by #32235
Labels
site-support-request Add extractor(s) for a new domain

Comments

@tv21
Copy link

tv21 commented Dec 5, 2019

Checklist

  • I'm reporting a new site support request
  • I've verified that I'm running youtube-dl version 2019.11.28
  • I've checked that all provided URLs are alive and playable in a browser
  • I've checked that none of provided URLs violate any copyrights
  • I've searched the bugtracker for similar site support requests including closed ones

Example URLs

Description

This is Motor Trend's premium site but the above videos are free to watch. You can also join free for 14 days to watch TV shows from their network. This is not the same as their watch.motortrend.com site for which support is currently broken (same problem that seems to be affecting other Discovery Network channels), and I do not think the Discovery extractor would work on this site even if it were working, but my suspicion is it is completely different from the other site. In any case the site's URL is not currently recognized.

@tv21 tv21 added the site-support-request Add extractor(s) for a new domain label Dec 5, 2019
@remitamine
Copy link
Collaborator

for now, you can this command to download videos from this site using the last id in the URL(0_xxxxxxxx):
youtube-dl -f '[protocol=m3u8_native]' kaltura:2093031:0_1j1evbz7

@tv21
Copy link
Author

tv21 commented Dec 5, 2019

Thank you!

@tv21
Copy link
Author

tv21 commented Dec 5, 2019

Is there any way to also specify the quality? For example if you do

youtube-dl -F kaltura:2093031:0_1j1evbz7

It shows several formats available but how would it be possible to combine one of those with '[protocol=m3u8_native]', or is that possible?

@remitamine
Copy link
Collaborator

the point is to select hls- prefixed formats, mp4- prefixed formats are not available.
you can select by name(480p):

youtube-dl -f hls-719 kaltura:2093031:0_1j1evbz7

or by resolution:

youtube-dl -f '[protocol=m3u8_native][height=540]' kaltura:2093031:0_1j1evbz7

for other possibilities read https://github.com/ytdl-org/youtube-dl#format-selection.

@tv21
Copy link
Author

tv21 commented Dec 5, 2019

Okay, got it, thank you again.

@danwald
Copy link

danwald commented Dec 6, 2019

I can take this one

@danwald
Copy link

danwald commented Dec 15, 2019

@remitamine I always seem to get a timeout when running the testcase I wrote. I have increased the timeout but it doesn't work. Any ideas?

@remitamine
Copy link
Collaborator

pass skip_download to the test case params dict.

@danwald
Copy link

danwald commented Dec 16, 2019

@remitamine I did, however its not the video that time out and fails, it the initial webpage. It works in the browser and using requests too but it not using the test case seen below. What am I messing up?

    _VALID_URL = r'https?://(?:www\.)?motortrendondemand\.com/(?:detail/)?(?:[\w-]+/)?(?P<id>[^/]+)/?(?:$|[?#])'
    _TEST = {
        'url': 'https://www.motortrendondemand.com/detail/the-story-of-ford-vs-ferrari/0_1j1evbz7/',
        'info_dict': {
            'id': '0_1j1evbz7',
            'ext': 'unknown_video',
            'title': 'The Story of Ford vs Ferrari',
            'description': 'md5:8c26e5433046a58967ed7e4ea2e6f484',
        },
        'params': {
            'skip_download': True,
        },
        'expected_warnings': ['Failed to download m3u8 information'],
    }

@remitamine
Copy link
Collaborator

for this extractor, you don't have to request motortrendondemand.com webpage at all, and the Kaltura extractor works fine(except that there is a need to extract only available formats), so most likely it's a problem with the extractor you're creating or your development envirenment.

@FunctionalHacker
Copy link

FunctionalHacker commented Jan 29, 2020

Hi, I would like to point out that with youtube-dl -f '[protocol=m3u8_native]' kaltura:2093031:$ID I only get 720p streams.

@dirkf dirkf linked a pull request May 26, 2023 that will close this issue
21 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
site-support-request Add extractor(s) for a new domain
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants