VB.NET redirect obtener todos los enlaces

Iniciado por Potatowith, Agosto 10, 2019, 02:15:22 PM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Agosto 10, 2019, 02:15:22 PM Ultima modificación: Agosto 10, 2019, 02:58:22 PM por AXCESS
Hola que tal amigos espero que estén muy bien  ;)
Hoy me encuentro con un problema para mi ya que estoy tratando de chequear con VISUAL BASIC los enlaces(Links) por los cuales pasa mi Webbrowser después de enviar un formulario.
Al hacer click mi webbrowser pasa por un redireccionamiento de  3 enlaces ejemplo
Hago click en submit luego pasa esto  navega a  ( You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login .. redirecciona a You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login y termina en You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login ) .
No logro identificar el enlace You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login con el siguiente codigo
Código: csharp
If WebBrowser1.Url.ToString.Contains("PARTE DE MI ENLACE WEB") Then 
probando y probando solo esta validación puede recolectar   el inicio : Google1.com  y el final  You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login .

Pero el enlace You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login no lo logra detectar

Quisiera saber si existe alguna manera de como detectar 1 o todos los enlaces con una validacion parecida a esta

Desde ya muchas gracias  :)