Acquisition of a regular solution to the great God

Source: Internet
Author: User

New Product Area

  • Warm jacket

    • Fake two pieces (shirt collar)

    • V-neck Tops



  • Above is the category I match the first class classification
    $DAFHT = ' #

    (.*)

    #iUs ';
    Preg_match_all ($DAFHT, $fenlei, $dafenlei);

    But the void asks the great God to answer


    The primary classification is the acquisition of Category-907362761.htm, which is the numeric ID and the following name

    Level two classification acquisition category-907362761.htm parentcatid=907362759 These two numeric IDs and the names that follow

    How to write the card master half a day to find answers








    Reply to discussion (solution)

    Class One:/ . *?<\/h4>/isu, no tests, no idea if we can match.

    Level two classification not very clear

    Why bother writing this? The site changes slightly, Kung fu is wasted
    There are many simple and practical tools on the Internet, why not?
    Like this one.

    $s =<<< TXT

    New Product Area

  • Warm jacket

    • Fake two pieces (shirt collar)

    • V-neck Tops

    • Txt;include ' simple_html_dom.php '; $p = new Simple_html_dom; $p->load ($s); foreach ($p->find (' a ') as $v) {echo $v-& Gt;class, Php_eol; This is the class echo $v that can be distinguished.->href,php_eol; This is the URL echo trim ($v->innertext ()), Php_eol; This is the description of the text}
  • Cat-name Fst-cat-name http://bosidengny.tmall.com/category-907362758.htm?search=y&catName=%D0%C2%C6%B7%D7%A8 %c7%f8 New Area Cat-name fst-cat-namehttp://bosidengny.tmall.com/category-907362759.htm?search=y&catname=%b1%a3% C5%af%c9%cf%d7%b0 warm-up cat-name snd-cat-namehttp://bosidengny.tmall.com/category-907362760.htm?search=y& Parentcatid=907362759&parentcatname=%b1%a3%c5%af%c9%cf%d7%b0&catname=%bc%d9%c1%bd%bc%fe%a3%a8%b3%c4%c9 %C0%C1%EC%A3%A9 fake two pieces (shirt collar) Cat-name snd-cat-namehttp://bosidengny.tmall.com/category-907362761.htm?search=y& parentcatid=907362759&parentcatname=%b1%a3%c5%af%c9%cf%d7%b0&catname=v%c1%ec%c9%cf%d7%b0v Collar Tops
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.