Código PHP:
    nURL = "http://www.ejemplo.com"
  Set xmlhttp = Server.CreateObject("MSXML2.ServerXMLHTTP.6.0")
  xmlhttp.open "POST", nURL, false
  xmlhttp.setRequestHeader "Content-Type", "application x-www-form-urlencoded"
  xmlhttp.send()
  Response.write xmlhttp.responseText
  Set xmlhttp = nothing 
    
  Con ese código obtienes el código fuente de tu página (xmlhttp.responseText). Una vez obtenido el código fuente, podrás crearte tus funciones para sacar enlaces a través de expresiones regulares.