Another way to ask this question is: how do you programmatically extend the TinyURL link to its true location?
What I want to do is find a way to programmatically take the link:
http://www.baidu.com/link?url=mW91GJqjJ4zBBpC8yDF8xDhiqDSn1JZjFWsHhEoSNd85PkV8Xil7qccoOX3rynaE
(the first link in Jessica Alba's search using baidu.com) and return her actual link:
http://baike.baidu.com/view/270790.htm
This is just one example. What I want to do is not specific to Jessica, but to use Baidu.com as part of my search engine group in my meta-search project.
There may be a way to use the WebBrowser class, but I have not seen the member that was the URL.
There may be a way to use WebRequest and WebResponse .
source share