Closed jLynx closed 5 years ago
Is this project dead?
Nope
whatismyipaddress.com doesn't work because the markup is borked,
they have a self closing html tag
https://validator.w3.org/nu/?doc=https%3A%2F%2Fwhatismyipaddress.com%2Fip%2F1.3.3.7
Is there anyway to bypass the validation check?
There is some html that \DomDocument (built into PHP) just barfs on.
This is one of those cases.
Goutte uses symfony/domcrawler which is an abstraction on top of \DomDocument.
Under the hood that uses (from memory) libxml2. If it can't parse it, nothing we can do.
Contact the site and tell them to fix their stuff?
Thanks :+1:
Hi when I use $crawler->html() I get noting for one website, but it works fine on another. Here is my setup
When I try
http://www.symfony.com/blog/
it works fine, but if I usehttps://whatismyipaddress.com/ip/1.3.3.7
it returns an empty string.Why is this happening and how can I fix it?
Thanks