GetVideoAsync fails on unavailable videos
See original GitHub issueI’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:
- Created 5 years ago
- Comments:20 (11 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@tuanbs this is a different issue #164 is what you are looking for.
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.