Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: parsing custom attributes in span/div tags

by daxim (Chaplain)
on Nov 04, 2013 at 09:10 UTC ( #1061109=note: print w/ replies, xml ) Need Help??


in reply to parsing custom attributes in span/div tags

use Web::Query 'wq'; wq('<html><div cid="some data" url="some url">....</div>') ->find('*[cid]') ->text # '....'


Comment on Re: parsing custom attributes in span/div tags
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1061109]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2015-07-04 22:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (60 votes), past polls