Forums Forums White Hat SEO As a new user I want to share a little code for manual scraping of the PAA section

  • As a new user I want to share a little code for manual scraping of the PAA section

    Posted by Exotic-Glasses on April 2, 2023 at 4:47 am

    I want to share two codes that can help you in your workflow, you just need to use it in the browser console and you can open and close the PAA section to do manual scraping and increase speed when you want to extract large amount of data.

    //Open PAA

    Array.from(document.querySelectorAll(“[aria-expanded=’false’]”)).forEach(button=>button.click());

    //Close PAA

    Array.from(document.querySelectorAll(“[aria-expanded=’true’]”)).forEach(button=>button.click())

    Exotic-Glasses replied 1 year ago 2 Members · 1 Reply
  • 1 Reply
  • Pattzfr5

    Guest
    April 2, 2023 at 7:00 am

    Or get seo minion chrome extension and scrape the serp

    Just another option

  • lukeest

    Guest
    April 2, 2023 at 8:52 pm

    There are whole chrome extensions that do this at scale. I use SEO minion and scrape maybe 5-10k PAAs a day, depending how long I run.

    Out of curiosity, are you saying this code would work better? always interested in increasing efficiency.

Log in to reply.