Closed TiamatStudios closed 8 years ago
I had a similar problem that some videos required signing in or were not available in my country. I prefer to download such problem videos manually so I extended YouCast to read URLs from external file. YouCast creates an empty missing.
Patch:
--- YoutubeFeed.cs (revision 33) +++ YoutubeFeed.cs (working copy) @@ -134,19 +134,52 @@
public void GetVideo(string videoId, string encoding)
{
WebOperationContext.Current.OutgoingResponse.Headers["Location"] = location;
}
#endregion
I have noticed that any youtube videos that are blocked for various reasons such as potentially offensive just error out in the podcasts download. I use YouCast with MusicBee to manage my youtube podcasts. It always says failed and when I look up the video in question it gives me the confirm you wish to continue screen. I noticed it changes the youtube url to end with "&has_verified=1" without quotations. Only problem with just adding that I see is these videos always say sign in to unblock and adding &has_verified=1 to the end wont bypass it if you are not logged in. I am not sure there is an easy way around this issue that wouldn't involve adding login to youtube support. Anyway keep up the great work it is a highly useful program!
Update: I did notice that going to www.TubeOffline.com and entering the video in question with &has_verified=1 at the end it can be downloaded from there without issues. Perhaps its possible to just add that to blocked videos or all videos to get rid of the errors?