youtube-dl icon indicating copy to clipboard operation
youtube-dl copied to clipboard

MotorTrend On Demand

Open Veritas413 opened this issue 4 years ago • 13 comments

Checklist

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

Example URLs

  • Single video: https://www.motortrendondemand.com/detail/the-650hp-clevo-commando-returns/153906/
  • Site: https://www.motortrendondemand.com/

Description

Used to be able to download just fine from https://www.motortrendondemand.com/ - looks like they changed something to break it, or changed their backend hosting.
Tried with login and cookies, which used to work, but now it doesn't. Found a closed request from last year (https://github.com/ytdl-org/youtube-dl/issues/23317) but the solution doesn't seem to work anymore, and the video IDs from the URL changed format. In addition, it looks like they're now requiring logins. I can provide to someone working on the issue, if they don't want to sign up for a free trial that requires a CC.

Veritas413 avatar Jun 08 '20 16:06 Veritas413

Seems they've switched from a Kaltura backend to Discovery's own backend: disco/dplay?

Should be able to adapt an existing disco/dplay extractor to work, and it seems the auth/token flow is similar too.

ualnwe avatar Jun 20 '20 20:06 ualnwe

I'm not sure how helpful this is to devs but hopefully it will be a helpful workaround until its fixed.

In Firefox if you open the inspect element on a video and switch to the network tab, you may have to refresh the page but sort the information by type and find the one that says dash in the type column. Then copy that file's url and paste that into youtube-dl and it should work. I've tested it a few times and a couple videos and it seems to be working like the old way did.

cjwil avatar Jun 24 '20 15:06 cjwil

I'm not sure how helpful this is to devs but hopefully it will be a helpful workaround until its fixed.

In Firefox if you open the inspect element on a video and switch to the network tab, you may have to refresh the page but sort the information by type and find the one that says dash in the type column. Then copy that file's url and paste that into youtube-dl and it should work. I've tested it a few times and a couple videos and it seems to be working like the old way did.

Nice! That appears to be a sufficient workaround! It's a pain, but it's better than nothing.

Veritas413 avatar Jul 06 '20 20:07 Veritas413

Adding to this again because it seems they've made more changes. If when searching for the URL in the inspector, the file name is only "Master.mpd" and the URL contains "&KeyName=primary&Signature" you must put the URL in quotes for youtube-dl or the & symbols mess with the URL

cjwil avatar Aug 31 '20 18:08 cjwil

Also, if you want the subtitles/captions, you can search for "Mastercaption". Make sure you enable CC in the video. If you right-click and get the curl link, you can paste that into your shell and redirect the output to a vtt file. Then you can merge the video and vtt with ffmpeg.

dgcurtis avatar Oct 21 '20 23:10 dgcurtis

Hey i know this is an old thread, but does anybody have a suggestion on parameters to use for any motortrend content so it keeps the file names?

JamesRokas avatar Nov 19 '20 19:11 JamesRokas

I'm not sure if it's possible to do that with youtube-dl due to the way that MotorTrend serves their videos but I use Sonarr for that.

cjwil avatar Nov 19 '20 21:11 cjwil

Yeah i just kind of gave up and i’ve been naming them all myself and grabbing them one by one. it takes a while but worth it i guess. i’ll look into sonar though! i’ve heard really good things about it but haven’t had the time to get into it

JamesRokas avatar Nov 19 '20 21:11 JamesRokas

You do have the option of copy and pasting the name into the terminal as well like youtube-dl -o "NAME" "URL" however symbols like exclamation points can mess this up

cjwil avatar Nov 19 '20 21:11 cjwil

most of them do have exclamation marks in the name so i’ll just keep doing what i’m doing hahaha. thank you though. i really appreciate it!

JamesRokas avatar Nov 19 '20 22:11 JamesRokas

Sorry to re-open this thread but downloading the .mpd file does not work anymore, it just downloads the ad. Anyone have this working still in 2022?

xxtensazenxx avatar Aug 04 '22 19:08 xxtensazenxx

Still working for me. Firefox, CTRL+Shift+I, Network tab, refresh page, start video, pause video. Sort by type or filter to find an octet-stream called master.mpd - right click, copy URL Paste into youtube-dl or yt-dlp, using [-o "WhateverYouWantTheVideoToBeCalled.mp4"]

Veritas413 avatar Aug 05 '22 23:08 Veritas413

Yeah, still works here too. I keep hoping the extractor gets fixed but since it's been a few years, it's not looking hopeful.

dgcurtis avatar Aug 12 '22 12:08 dgcurtis