Download Video from YouTube
-
I have been all over Google to figure out a way to download a file from YouTube. Well, looking for the code. :) I have no clue how its done. Well, I visited many sites that provided the code (Just Google "Open Source YouTube Downloader" and "C# Download YouTUbe Video".) However, the code I got from them did not download the file. Looked like some string they were looking for was not found on the page. I also came across an article which stated that YouTube is trying to stop the downloading of videos on other websites and software. Well, how are some software (commercial) still able to download the video? If you can help me out, that would be really nice. I am just looking to download .flv, nothing fancy. Thanks, Harsimran Singh
- The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. - Ted Nelson 2) Why is it drug addicts and computer afficionados are both called users? - Clifford Stoll 3) The real danger is not that computers will begin to think like men, but that men will begin to think like computers. - Sydney J. Harris (Computer code: 00001111 - translation: Hello! :P ) REMEMBER: "Computers are made for us, we are not made for th
-
I have been all over Google to figure out a way to download a file from YouTube. Well, looking for the code. :) I have no clue how its done. Well, I visited many sites that provided the code (Just Google "Open Source YouTube Downloader" and "C# Download YouTUbe Video".) However, the code I got from them did not download the file. Looked like some string they were looking for was not found on the page. I also came across an article which stated that YouTube is trying to stop the downloading of videos on other websites and software. Well, how are some software (commercial) still able to download the video? If you can help me out, that would be really nice. I am just looking to download .flv, nothing fancy. Thanks, Harsimran Singh
- The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. - Ted Nelson 2) Why is it drug addicts and computer afficionados are both called users? - Clifford Stoll 3) The real danger is not that computers will begin to think like men, but that men will begin to think like computers. - Sydney J. Harris (Computer code: 00001111 - translation: Hello! :P ) REMEMBER: "Computers are made for us, we are not made for th
Perhaps you have to pretend to be a browser. I'd use Fiddler2 to inspect the traffic that goes back and forth between your browser and the YouTube servers when you watch a video. Try to mimic that traffic with your code. If they've built a custom flash control to play the video, that may use some proprietary technique to validate it is being played in their player, which could complicate things. Perhaps the commercial software (Flash?) just captures the resulting video (i.e., that gets played back on the screen) rather than the data sent over the internet. Sorry I can't provide you with a specific solution (only general guidance)... you may need to do some more work to figure this out yourself.
-
Perhaps you have to pretend to be a browser. I'd use Fiddler2 to inspect the traffic that goes back and forth between your browser and the YouTube servers when you watch a video. Try to mimic that traffic with your code. If they've built a custom flash control to play the video, that may use some proprietary technique to validate it is being played in their player, which could complicate things. Perhaps the commercial software (Flash?) just captures the resulting video (i.e., that gets played back on the screen) rather than the data sent over the internet. Sorry I can't provide you with a specific solution (only general guidance)... you may need to do some more work to figure this out yourself.
You are right. YouTube really has complicated things. Some software I downloaded to download files from YouTube, didn't work either. There might be another way which I just came across. I am using the YouTube Data API, and when I was debugging (hoping to find some clue to the download link), I came across another link, that was a rstp protocol link. I was wondering if there is a way to download a file from that protocol. But I couldn't find anything on Google either. Sorry, I am not that good with web and desktop combined. Thanks, Harsimran Singh
- The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. - Ted Nelson 2) Why is it drug addicts and computer afficionados are both called users? - Clifford Stoll 3) The real danger is not that computers will begin to think like men, but that men will begin to think like computers. - Sydney J. Harris (Computer code: 00001111 - translation: Hello! :P ) REMEMBER: "Computers are made for us, we are not made for th
-
Perhaps you have to pretend to be a browser. I'd use Fiddler2 to inspect the traffic that goes back and forth between your browser and the YouTube servers when you watch a video. Try to mimic that traffic with your code. If they've built a custom flash control to play the video, that may use some proprietary technique to validate it is being played in their player, which could complicate things. Perhaps the commercial software (Flash?) just captures the resulting video (i.e., that gets played back on the screen) rather than the data sent over the internet. Sorry I can't provide you with a specific solution (only general guidance)... you may need to do some more work to figure this out yourself.
I think you are right. After checking with Fiddler, there is a GET method, which sends YouTube the url of the video. The url is pretty complicated and looks like it works on Ip address. Well, how can I intercept the JSON response from YouTube to the browser with a C# desktop application? I have no clue how to do this. I came across this: http://stackoverflow.com/questions/2077265/json-in-c-sending-and-receiving-data[^], but that wasn't helpful either. Can you please help me?? Thank you very much, Harsimran Singh
- The good news about computers is that they do what you tell them to do. The bad news is that they do what you tell them to do. - Ted Nelson 2) Why is it drug addicts and computer afficionados are both called users? - Clifford Stoll 3) The real danger is not that computers will begin to think like men, but that men will begin to think like computers. - Sydney J. Harris (Computer code: 00001111 - translation: Hello! :P ) REMEMBER: "Computers are made for us, we are not made for th