Avatar of kjenney
kjenney
 asked on

QueryPath Parse Live Page VS Download

I'm using QueryPath to retrieve various tags from sites. I'm using htmlqp to parse pages. My problem is that the parse fails when done remotely but works fine when the page is saved locally via curl. How can I debug the output and get the pages to process?
PHPCSS

Avatar of undefined
Last Comment
Kyle Hamilton

8/22/2022 - Mon
Kyle Hamilton

does querypath do a file_get_contents first? if not, you could try that, and then parse the result.
ASKER CERTIFIED SOLUTION
Kyle Hamilton

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
kjenney

ASKER
Works great! Saves me a lot of time and coding. Thanks.
Kyle Hamilton

:))
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck