Menu

How can I retrieve specific data from a page?

Help
Anonymous
2013-12-31
2014-01-02
  • Anonymous

    Anonymous - 2013-12-31

    How can I retrieve specific data from a page?
    For instance I would like to get the name in this span:

    <span class="firstname">Jan</span>
    
     
  • Anonymous

    Anonymous - 2014-01-02

    Hi!

    This isn't related directly to phpcrawl, but you may just use a regular expression to get the content of particular html-tags, or use a DOM-parser like DOMDocument or PHP Simple HTML DOM Parser.

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.