Old 2nd October 2017, 13:13   #1
Senior Member
r2du-soft's Avatar
Join Date: Nov 2013
Location: Iran
Posts: 281
Question find the URL MainLink from the URL ShortLink

we know we can make url short link from https://goo.gl/

now i have a ShortLink: https://goo.gl/WYuyuU
how can find make url this short link from nsis?
find https://www.armindesign.com/en From https://goo.gl/WYuyuU
r2du-soft is offline   Reply With Quote
Old 2nd October 2017, 16:08   #2
Anders's Avatar
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 4,944
There is no standard for this but most sites probably use a server redirect. You can try a HEAD request with INetC and look for a Location header if it is a 30x response. Other short link implementations might use a META HTML tag or javascript and then you would have to parse the page...

See also:

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump