Maxstupo / ydl-ui

A UI for the command-line video downloader "youtube-dl"
MIT License
354 stars 34 forks source link

File template doesn't work - unable to extract video title #38

Closed Smile4ever closed 4 years ago

Smile4ever commented 5 years ago

Retrieving title doesn't work for https://www.youtube.com/watch?v=lV4l250CJb8 with the template taken from #34.

To Reproduce Steps to reproduce the behavior

  1. Add the above YouTube URL to YDL UI in the advanced mode
  2. Use %(title)s.%(ext)s as a filename template
  3. Start the download

Expected behavior File is named with a meaningful title. Instead it's named _.mkv.

Information

Another way to extract the title from a video is the following:

wget --quiet -O - https://youtube.com/watch?v=zEEu2cseSWg | sed -n -e 's!.*<title>\(.*\)</title>.*!\1!p'
Maxstupo commented 5 years ago

Try the latest release v2.5.3 as it will most likely fix the issue.