![]() |
|
[.NET] NO CAPTCHA, Shorten long URLs with goo.gl and get the long behind the short one !!! - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151) +---- Forum: Software Development (https://hackforums.net/forumdisplay.php?fid=118) +---- Thread: [.NET] NO CAPTCHA, Shorten long URLs with goo.gl and get the long behind the short one !!! (/showthread.php?tid=3469606) |
NO CAPTCHA, Shorten long URLs with goo.gl and get the long behind the short one !!! - ๖ۣۜXilluX - May 10, 2013 Hello HF, this is my first Thread and here i would like to release my Source! With this code you can shorten any URL to http://goo.gl/, without Captcha! Also you can get the long URL behind the shorten one! This is all is via Webrequest. Enjoy the Code and please give credits to me, if you use it ! Code to shorten a long URL: Code Public Function shortenurl(ByVal long_uri As String)Code to get the long URL from the short one: Code Public Function getlongurl(ByVal long_uri As String)Thank you HF, you are so great ! ~The Expert * - Foursenal - May 10, 2013 Yeah i've tried doing this before, never got it. Great release! Totally using it! -- So I just tested it out, and it works fine. This is good for a mass URL shortener. * - ๖ۣۜXilluX - May 10, 2013 (May 10, 2013 02:04 PM)4rsenal Wrote: Yeah i've tried doing this before, never got it. Great release! Totally using it! Thank you for your feedback, after 120 views at least 1 post :) * - k@$f - May 10, 2013 thank you for this its awesome good job man * - ๖ۣۜXilluX - May 10, 2013 (May 10, 2013 11:57 PM)k@$f Wrote: thank you for this You are welcome, enjoy the Source :) * - Zayed - May 16, 2013 Thank you man.. I was looking for something like this, i will mess with the code if you don't mind :p! * - ๖ۣۜXilluX - May 16, 2013 (May 16, 2013 08:57 AM)Zayed Wrote: Thank you man.. No Problem, you are Welcome ! ~The Expert * - carrot223 - May 16, 2013 Nice job, but a little convoluted, you can use a webclient for both functions and make it all a little easier to read to boot: Code Private Function GetShortUrl(ByVal longurl As String) As String* - ๖ۣۜXilluX - May 16, 2013 (May 16, 2013 10:03 AM)carrot223 Wrote: Nice job, but a little convoluted, you can use a webclient for both functions and make it all a little easier to read to boot: Yes your Code is easier, thanks for improving it ! |