I have trouble with setting my crawler, it takes me a long time

Comments

1 comment

  • Scarlett

    First, create a loop to loop click the options.


    Then create an "extract data action" and put it in the loop. Tick the "extract data in the loop" option, then tick the relative XPath option. Leave both matching XPath and relative XPath blank.





    After that create another "extract data" action with this XPath.
    //div[contains(@class,"ctive-media")]/div/a/img


    Choose "srcset" attribute as the extracted attribute.


    Then click run the task, and you'll get the data you need.

    0
    Comment actions Permalink

Please sign in to leave a comment.