You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I really like the simple design of this tool and thought using it would be straight forward.
But I tried several kind of selectors, but with almost no success.
OK, I only tried with one html file so far, but at least pup has formated/pretty-printed it correctly, so parsing should work fine, I guess.
As mentioned in Issue 54 single quotes mostly do not work on windows.
I could only filter out something with simple tag selectors using double quotes (e.g. "meta", "head"). Most of the times it does not output anything!
Selector parsing error: Malformed 'contains("")' selector
Using :contains("") always throws an error, no matter how I try to use it.
The source code (selector.go) seems to do this on (for the user) various non-distinguishable cases.
Does anyone use this tool on windows? Is there a trick or does it just not work properly?
The text was updated successfully, but these errors were encountered:
cmd.exe is an old and clumsy tool. I suggest instead using PowerShell, a much more powerful shell for Windows... or if you must, get a Unix-like shell (bash or similar). It probably is possible to write native cmd-compatible commands, but you'll have to get the escape sequences and syntax just right, and in my experience (as a long-time Windows enthusiast), it's just not worth it.
I really like the simple design of this tool and thought using it would be straight forward.
But I tried several kind of selectors, but with almost no success.
OK, I only tried with one html file so far, but at least pup has formated/pretty-printed it correctly, so parsing should work fine, I guess.
As mentioned in Issue 54 single quotes mostly do not work on windows.
I could only filter out something with simple tag selectors using double quotes (e.g. "meta", "head").
Most of the times it does not output anything!
Selector parsing error: Malformed 'contains("")' selector
Using :contains("") always throws an error, no matter how I try to use it.
The source code (selector.go) seems to do this on (for the user) various non-distinguishable cases.
Does anyone use this tool on windows? Is there a trick or does it just not work properly?
The text was updated successfully, but these errors were encountered: