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
Im also trying to parse a webpage with an item name followed by a price, and a second item name followed by its own price, and using a comma ',' I get both items names first, and both prices last, separate from names. Why doesn't pup keep the original order?
Any way to fix this?
I'm running: pup '[class="product-name"],[class="price"] json{}'
Currently, the
json{}
displayer comines all text node children of an element node together (separated by spaces)This produces the same output as a different html document
I would like the json output to preserve the distinction between these documents. For example,
The text was updated successfully, but these errors were encountered: