URL to RSS – The query you defined returned no results. Please check it.

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 9 replies, 2 voices, and was last updated 3 years, 7 months ago by Szabi – CodeRevolution.

Viewing 9 reply threads
  • Author
    Posts
    • #3045


      jdlitson
      Participant
      Post count: 33

      Hi Szabi,

      I am trying to import the posts from the following URL and used the same settings as you set up for me for the image galleries, but it’s not working for the model “post type”.

      The URL: https://www.elitebabes.com/top-rated-babes/

      Content I would like to import from the posts:

      1. featured image
      2. class: read-more
      3. class: read-more-wrap
      4. the content inside the class: read-more-trigger (has the title “show more”)

      I am not sure if URL to RSS is able to import 3 different classes from the content or not. If not then # 1 and 3 would be ok.

      Here are the current settings I have.
      <h3>Crawling Restrictions:</h3>

      • <b>Maximum Link Crawling Depth: 2</b>
      • <b>Do Not Scrape Start URL: checked</b>
      • <b>Seed Page Crawling Query Type: XPath</b>
      • <b>Seed Page Crawling Query String: //*[@class=’displayblock’]</b>
      • <b>Seed Page Pagination Query Type: class</b>
      • <b>Seed Page Pagination Query String: next</b>
      • <b>Remember Last Paged URL: checked</b>

      <h3>Content Scraping Customizations:</h3>

      • <b>Content Query Type (Optional): Class</b>
      • <b>Content Query String (Optional): read-more-wrap</b>
      • <b>Title Query Type (Optional): Class</b>
      • <b>Title Query String (Optional): fn</b>
      • <b>Image Query Type (Optional): Class</b>
      • <b>Image Query String (Optional): //*[@class=’img’]</b>

      Thanks again for your time and help.

      Kind regards,
      Jason

    • #3046


      Szabi – CodeRevolution
      Keymaster
      Post count: 4585

      Hello,

      Please try using the settings from below:

      Crawling Restrictions:

      • Maximum Link Crawling Depth: 2
      • Do Not Scrape Start URL: checked
      • Seed Page Crawling Query Type: XPath
      • Seed Page Crawling Query String: //*[@class=’gallery-a a d’]
      • Seed Page Pagination Query Type: class
      • Seed Page Pagination Query String: next
      • Remember Last Paged URL: checked

      Content Scraping Customizations:

      • Content Query Type (Optional): Class
      • Content Query String (Optional): module-model
      • Title Query Type (Optional): Class
      • Title Query String (Optional): fn

      Regards,

      Szabi – CodeRevolution.

    • #3051


      jdlitson
      Participant
      Post count: 33
      This reply has been marked as private.
    • #3053


      Szabi – CodeRevolution
      Keymaster
      Post count: 4585

      Hello,

      I checked your site and saw that you have high feed item count (over 1000). This is possible only if you increase max_execution_time in php settings. You should set this to very large values like 86400

      Resource on how to change this: https://www.a2hosting.com/kb/developer-corner/php/using-php.ini-directives/php-maximum-execution-time

      If you don’t know how to make this change, please contact your hosting provider’s support and ask them to change this on your server.

      Let me know if this helped.

      Regards.

    • #3054


      jdlitson
      Participant
      Post count: 33

      Hi Szabi,

      Thank you for the update. However, for rule ID:7 I have set the max# feed item to 10 for testing and it is still the error.
      ++++++
      [21-Apr-2021 13:21:34 America/New_York] The query you defined returned no results. Please check it. Rule ID: 7
      ++++++

      I will set a higher “max_execution_time” in my php setting.

      Thanks again,
      Jason

    • #3055


      jdlitson
      Participant
      Post count: 33

      Here are the screenshots I forgot to attach in my last reply.

      Attachments:
      You must be logged in to view attached files.
    • #3058


      Szabi – CodeRevolution
      Keymaster
      Post count: 4585

      I checked rule ID 7 and the XPath in the ” settings field was incorrect. It contained incorrect quote characters. Please check correct ones:

      //*[@class=’gallery-a a d’]

      And incorrect ones (how it was in the plugin):

      //*[@class=’gallery-a a d’]

    • #3059


      Szabi – CodeRevolution
      Keymaster
      Post count: 4585

      It seems that my support forum changes quotes automatically.

      Please check the ‘Seed Page Crawling Query String’ settings field for rule ID 7 for correct value.

    • #3060


      jdlitson
      Participant
      Post count: 33

      Thank you Szabi!

      Do you have a plugin that can add selected content to custom fields?

      For example:

      ++++++

    • <span>Born:</span>March 1997
    • Custom feild=born Content=March 1997

    • <span>Birthplace:</span>Hungary
    • Custom feild=Birthplace Content=Hungary

    • <span>Hair Color:</span>Brown
    • Custom feild=Hair Color Content=Brown

    • <span>Height:</span>175 cm, 5 ft 9 in
    • Custom feild=Height Content=175 cm, 5 ft 9 in

    • <span>Bust Size:</span>Large
    • Custom feild=Bust Size Content=Large

    • <span>First Seen:</span>2017
    • Custom feild=First Seen Content=2017

      ++++++

      Thanks,
      Jason

  • #3062


    Szabi – CodeRevolution
    Keymaster
    Post count: 4585

    My plugins can already do this, please check this video for details: https://www.youtube.com/watch?v=GMIojmlI9fA

  • Viewing 9 reply threads

    The topic ‘URL to RSS – The query you defined returned no results. Please check it.’ is closed to new replies.