Post Content Tab

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #2127
    Bhav SinghBhav Singh
    Participant

    Hi the post content is not displaying image gallery images properly on the product page so scraping them is not possible even through meta tags

    check screen shot https://tinyurl.com/yahhtex9

    #2129
    Suman M.Suman M.
    Keymaster

    Hi, thanks for contacting us. It’s because the gallery might have been loaded via Ajax. But we can manually fetch those images and we’ll help you with it. Can you please let us know your site’s wp-admin login details so that we can look into it. Also let us know the task name we shall look into.

    #2141
    Bhav SinghBhav Singh
    Participant
    This reply has been marked as private.
    #2144
    Suman M.Suman M.
    Keymaster

    Hi, it’s now scraping gallery images too – //li[contains(@class,”prd-image”)]//picture
    Please check and let us know.

    #2147
    Bhav SinghBhav Singh
    Participant

    Hi yes its working ok but i want the images URL to be saved in to paticular fields how do i do this the field you choose is gallery but i want it to be saved in to the following fileds, fifu_image_url fifu_image_url_0
    fifu_image_url_1 fifu_image_url_2

    is this possible

    thanks

    #2154
    Suman M.Suman M.
    Keymaster

    Yes, I have added fifu_image_url_1 and fifu_image_url_2 – https://www.screencast.com/t/lgXBvumeCRyw
    You can add others accordingly.

    #2169
    Bhav SinghBhav Singh
    Participant

    hi thanks i have got it now, just one more thing can you tell me how did you find the path select please

    thanks

    #2171
    Bhav SinghBhav Singh
    Participant

    Hi i cant find a field which exsists in the database, it already has data in the field so why is it not visible in the list?. if this is not possible can i use field meta key to attache the field to the task.

    thanks

    #2174
    Suman M.Suman M.
    Keymaster

    just one more thing can you tell me how did you find the path select please
    >> You either need to know the syntax of XPath or you can do this – https://support.wpbots.net/documentation/getting-a-value-from-hidden-element/

    If the field name already exists and you have already added data to it then it should be visible in scraper’s fields list. Can you please let me know which field it is and where we can see it?

    #2194
    Bhav SinghBhav Singh
    Participant

    Hi i have tried to extract the xpath like yours but the xpath im getting is diffrent to yours for example here is yours //li[contains(@class,”prd-image”)]//picture and heres is mine //*[@id=”carousel”]/ul/li[1]/a/picture/img why is this? im using chrome browser.

    thanks

    #2196
    Suman M.Suman M.
    Keymaster

    I have written the XPath manually. You seem to have generated XPath from browser’s console. Both should be working. Isn’t yours working? If not, for which source url and which image?

    #2198
    Bhav SinghBhav Singh
    Participant

    Hi yes, mine doesn’t work and I don’t know how to do it manually. will I have to get the ajax pro subscription to make it work? or is there any other solution.

    thanks

    #2203
    Suman M.Suman M.
    Keymaster

    Hi, you don’t need Scraper Pro for getting the XPath. In some cases, because of the way HTML code is written, you might need to manually find the correct XPath. In such case we’ll help you find the correct XPath. Let us know. Thanks!

Viewing 13 posts - 1 through 13 (of 13 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register