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.

GetVideoAsync fails on unavailable videos

See original GitHub issue

I’m using the latest version 4.3.3 and got the error message: Video [KOOtkK1F734] is not available and cannot be processed. Code: 150. Reason: This video is not available... Its Youtube url is: https://www.youtube.com/watch?v=KOOtkK1F734.

Details:

at YoutubeExplode.YoutubeClient.<GetVideoInfoAsync>d__35.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at YoutubeExplode.YoutubeClient.<GetVideoAsync>d__38.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Web.Controllers.WebApi.FilesController.<GetYoutubeInfoByYoutubeVideoUrl>d__8.MoveNext() in

Thanks in advance for any help. Cheers.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:20 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
SlowLogicBoycommented, Oct 16, 2018

@tuanbs this is a different issue #164 is what you are looking for.

1reaction
smartbrackercommented, Oct 8, 2018

I’m not sure and I did not stop to study.

Seens youtube-dl use a common User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 YoutubeExplode use exclusive User-Agent. YoutubeExplode (github.com/Tyrrrz/YoutubeExplode)

If someone with error this video is not available, want try change User-Agent header.

Maybe it will not change anything, but it does not hurt to try.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is there a fix for the "unavailable videos are hidden" ...
Is there a fix for this, or am I stuck with those five missing videos just being somewhere in the void? 5.
Read more >
How To Fix YouTube 'Unavailable Videos Are Hidden' Error
To fix the YouTube “Unavailable videos are hidden” error, users should: Go to the playlist where the message is popping up. Click the ......
Read more >
YoutubeExplode/Changelog.md at master
Improved GetVideoAsync , GetVideoAuthorChannelAsync and GetVideoClosedCaptionTrackInfosAsync so that they don't fail on unavailable videos.
Read more >
Youtube-dl isn't ignoring unavailable videos
I installed youtube-dl with pip3 and I'm using version 2020.11.18 (latest). Here is an image with the error message: enter image description ...
Read more >
[BUG] Playlist won't download if there is an unavailable ...
To Reproduce Just download a playlist with and unavailable video. ... Sign in if you've been granted access to this video ERROR: [youtube] ......
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