Invalid URI: The Authority/Host could not be parsed from very long url

Check your browser when navigating to this URL, as it is redirected to http://r2....

Copy the redirected URL and use it instead:

http://r2---sn-aigeznl6.googlevideo.com/videoplayback?ratebypass=yes&fexp=924615,912522,932260,910207,936330,916611,936117,936910,936913&source=youtube&sver=3&itag=43&key=yt5&ip=119.72.195.38&upn=cBXbXj9uR-k&ipbits=0&id=e9b0fb53c92a23c0&expire=1391346085&sparams=id,ip,ipbits,itag,ratebypass,source,upn,expire&fallback_host=tc.v17.cache3.googlevideo.com&signature=EC0116EE4A09D80D38ACB1302F6776320D55A20C.518C15D3446E72D5E764D93AFBA0804B9257914F&redirect_counter=1&cms_redirect=yes&ms=nxu&mt=1391323695&mv=m


The offender was this guy "http:/r". A quick hack for it is the code below

 if (url.StartsWith("http:/r"))
            url = url.Replace("http:/r", "http://r");

might modify it later for something general

Tags:

C#

Http

Uri

Youtube