question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[-i mode insufficent] ExtractorError: This video is unavailable. (previous answer still incorrect)

See original GitHub issue
  • I’ve verified and I assure that I’m running youtube-dl 2018.08.04

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)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

youtube-dl RDEMww6ZEHgLhQ-8eu_x7Z-FJw -v -i -f m4a --restrict-filenames --no-mtime -o '%(epoch)s.%(id)s.%(title).40s.%(ext)s'

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'RDEMww6ZEHgLhQ-8eu_x7Z-FJw', u'-v', u'-i', u'-f', u'm4a', u'--restrict-filenames', u'--no-mtime', u'-o', u'%(epoch)s.%(id)s.%(title).40s.%(ext)s']
[debug] Encodings: locale UTF-8, fs UTF-8, out None, pref UTF-8
[debug] youtube-dl version 2018.08.04
[debug] Python version 2.7.9 (CPython) - Linux-4.4.38-v7+-armv7l-with-debian-8.0
[debug] exe versions: avconv 11.12-6, avprobe 11.12-6
[debug] Proxy map: {}
WARNING: Unable to extract video title
ERROR: This video is unavailable.
Traceback (most recent call last):
 File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py\", line 792, in extract_info
 ie_result = ie.extract(url)
 File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/common.py\", line 502, in extract
 ie_result = self._real_extract(url)
 File \"/usr/local/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py\", line 1886, in _real_extract
 raise ExtractorError(error_message, expected=True)
ExtractorError: This video is unavailable.

The response in https://github.com/rg3/youtube-dl/issues/17286#issuecomment-414475214 is still insufficient.

Contributor requests that I compare lhs to rhs.

As shown in logs, here is what is passed:

youtube-dl RDEMww6ZEHgLhQ-8eu_x7Z-FJw -v -i -f m4a --restrict-filenames --no-mtime -o '%(epoch)s.%(id)s.%(title).40s.%(ext)s'

Verbose mode confirms it’s using: u'RDEMww6ZEHgLhQ-8eu_x7Z-FJw'

And here is the original URI: https://www.youtube.com/watch?v=kXYiU_JCYtU&start_radio=1&list=RDEMww6ZEHgLhQ-8eu_x7Z-FJw

RDEMww6ZEHgLhQ-8eu_x7Z-FJw
RDEMww6ZEHgLhQ-8eu_x7Z-FJw
RDEMww6ZEHgLhQ-8eu_x7Z-FJw

These are all identical.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8

github_iconTop GitHub Comments

1reaction
dstftwcommented, Aug 22, 2018
  1. It’s not documented and it’s a mess at the moment, e.g. 101 is returned on successful --max-download reached scenario violating the only zero return code on success rule.
  2. That depends. If you want to detect general failures you’re better use not 0 (if you don’t use --max-download).
0reactions
Cokemonkey11commented, Aug 25, 2018

Thanks! In order to ignore when a video is unavailable in -i mode, I now have some code like this:

set -euxo pipefail

ret=0
youtube-dl "ytsearch:$1" -v -i -f m4a --restrict-filenames --no-mtime -o '%(epoch)s.%(id)s.%(title).40s.%(ext)s' || ret=$?
if [ $ret -ne 0 && $ret -ne 1 ]; then exit $rc; fi
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Fix "This video is not available message on YouTube"
Part 1. How to Fix This Video Is Not Available Error on YouTube or Device · 1. Refresh the web page and restart...
Read more >
A device attached to the system is not functioning? Easy fix here!
You connect your iPhone to the PC, but suddenly there is an error message that runs: A device attached to the system is...
Read more >
How to Fix the "Video Unavailable" Error on Apple TV+
To do this, head into Settings and set Share Apple TV App Analytics (beneath Privacy) to Off. 6. Change Your Display Settings. This...
Read more >
What You Can Do When Video Not Working on iPad - FoneLab
1. Why Videos Won't Play on My iPad · Insufficient storage space. Playing videos requires much memory space. · Incompatible video format.
Read more >
How to Resolve WhatsApp Unavailable Status [2022 Guide]
Sometimes, users will encounter the WhatsApp unavailable problem which is caused by a number of factors which is discussed in this article.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found