by nolovelust
19. March 2010 11:18
Viacom vs. YouTube lawsuit made public today and revealed something very interesting.
According to youtube official blog
"For years, Viacom continuously and secretly uploaded its content to YouTube, even while publicly complaining about its presence there. It hired no fewer than 18 different marketing agencies to upload its content to the site. It deliberately "roughed up" the videos to make them look stolen or leaked. It opened YouTube accounts using phony email addresses. It even sent employees to Kinko's to upload clips from computers that couldn't be traced to Viacom. And in an effort to promote its own shows, as a matter of company policy Viacom routinely left up clips from shows that had been uploaded to YouTube by ordinary users. Executives as high up as the president of Comedy Central and the head of MTV Networks felt "very strongly" that clips from shows like The Daily Show and The Colbert Report should remain on YouTube.
Viacom's efforts to disguise its promotional use of YouTube worked so well that even its own employees could not keep track of everything it was posting or leaving up on the site. As a result, on countless occasions Viacom demanded the removal of clips that it had uploaded to YouTube, only to return later to sheepishly ask for their reinstatement. In fact, some of the very clips that Viacom is suing us over were actually uploaded by Viacom itself."
Lets see if youtube can prove this and what judge will think about it.
4c898ee8-abff-46cc-8327-a57c65d15590|1|5.0|96d5b379-7e1d-4dac-a6ba-1e50db561b04
Tags: viacom, youTube, lawsuit
by nolovelust
15. March 2010 11:14
This is rather a cheap stuff but a cool must-have also for wapmasters nevertheless. How is it done? Here it is :
1. Get the URL of the music video u want to convert located at the address box
2. Go to http://www.VidToMP3.com
3. Go to the address or text box and type the url and then click download.
4. Click "download mp3. Done.
Keep in mind that if you extracting copyrighted audio, you are breaking the law!
by nolovelust
19. February 2010 15:37
Update on 9/04/2010: Since youtube changed their layout code below may not work. Reason for that is that Youtube now generates unique machine id for each computer that visits it.
____________________________________________________________
Below code enables you to download youtube videos in MP4 format. It is easy to use
Save the code as youtube.aspx and call it like youtube.aspc?youtube=http://uk.youtube.com/watch?v=DD-pfi6vtnk&fmt=13
fmt 13 = 3GP download
fmt 18 = MP4 download
protected void Page_Load(object sender, EventArgs e)
{
string vid_format = Request.QueryString["fmt"];
if (vid_format == null)
{ vid_format = "13"; }
if (Request.QueryString["youtube"] != null)
{
if (Request.QueryString["youtube"].ToString().Trim() != "")
{
string url = Request.QueryString["youtube"].ToString().Trim();
url = convert(url);
if (url != "")
{
youtubecatch2(url,vid_format);
}
}
}
}
private void youtubecatch2(string url, string vid_format)
{
string buffer = getContent(url);
if (buffer.IndexOf("Error:") < 0)
{
try
{
int start = 0, end = 0;
string startTag = "/watch_fullscreen?";
string endTag = ";";
start = buffer.IndexOf(startTag, StringComparison.CurrentCultureIgnoreCase);
end = buffer.IndexOf(endTag, start, StringComparison.CurrentCultureIgnoreCase);
string str = buffer.Substring(start + startTag.Length, end - (start + startTag.Length));
string vid = str.Substring(str.IndexOf("video_id"), str.IndexOf("&", str.IndexOf("video_id")) - str.IndexOf("video_id"));
string l = str.Substring(str.IndexOf("&l"), str.IndexOf("&", str.IndexOf("&l") + 1) - str.IndexOf("&l"));
string t = str.Substring(str.IndexOf("&t"), str.IndexOf("&", str.IndexOf("&t") + 1) - str.IndexOf("&t"));
string title = str.Substring(str.IndexOf("&title=") + 7);
//title = title.Substring(0, title.Length - 1);
//litResult.Text = "Download " + title + "";
//Response.Redirect("http://youtube.com/get_video?" + vid + l + t +"&fmt=" + vid_format );
Response.Redirect(GetRedirectedUrl("http://youtube.com/get_video?" + vid + l + t + "&fmt=" + vid_format));
//Response.Write(buffer);
}
catch (Exception expTwo)
{
//Response.Write (expTwo.Message.ToString());
//Response.Redirect("/removed.asp?err=1" /* + expTwo.Message.ToString())*/);
}
}
else
{
Response.Write (buffer);
}
}
private string GetRedirectedUrl(string url)
{
string buffer;
try
{
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Method = "GET";
//req.ContentLength = outputBuffer.Length;
//req.ContentType = "application/x-www-form-urlencoded";
//StreamWriter swOut = new StreamWriter(req.GetRequestStream());
//swOut.Write(outputBuffer);
//swOut.Close();
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
//StreamReader sr = new StreamReader(resp.GetResponseStream());
//buffer = sr.ReadToEnd();
//sr.Close();
buffer = resp.ResponseUri.ToString();
}
catch (Exception exp)
{
buffer = "Error: " + exp.Message.ToString();
}
return (buffer);
}
private string getContent(string url)
{
string buffer;
try
{
string outputBuffer = "where=46038";
HttpWebRequest req = (HttpWebRequest)WebRequest.Create(url);
req.Method = "POST";
req.ContentLength = outputBuffer.Length;
req.ContentType = "application/x-www-form-urlencoded";
StreamWriter swOut = new StreamWriter(req.GetRequestStream());
swOut.Write(outputBuffer);
swOut.Close();
HttpWebResponse resp = (HttpWebResponse)req.GetResponse();
StreamReader sr = new StreamReader(resp.GetResponseStream());
buffer = sr.ReadToEnd();
sr.Close();
}
catch (Exception exp)
{
buffer = "Error: " + exp.Message.ToString();
}
return (buffer);
}
private string convert(string url)
{
url = url.Replace("www.youtube.com", "youtube.com");
if (url.IndexOf("http://youtube.com/v/") >= 0)
{
url.Replace("http://youtube.com/v/", "http://youtube.com/watch?v=");
}
if (url.IndexOf("http://youtube.com/watch?v=") < 0)
{
url = "";
}
return (url);
}