Google Pagination...

Discussion in 'A-Parser Support Forum' started by scrapefun, Sep 16, 2025.

  1. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    209
    Likes Received:
    37
    Since Google has ended support of the "num=" operator, I need to scrape results by page but sometimes the results for one or several pages is not included in the results.

    I'm just trying to save the full results page to a single html using format like:
    $p1.pages.0.data\n$p1.pages.1.data\n$p1.pages.2.data\n$p1.pages.3.data\n$p1.pages.4.data\n

    Also tried this format:
    $pages.format('$data\n')

    A good number of queries only have 2 or 3 pages instead of the full 5. These are queries that definitely have more than 5 pages of results.

    What is the correct way to format results to ensure all pages are included?

    I'm using version 1.2.2939
     
    #1 scrapefun, Sep 16, 2025
    Last edited: Sep 16, 2025
  2. bielawa

    bielawa A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Jan 17, 2025
    Messages:
    7
    Likes Received:
    0
    Hi, did you tried to set to $p1.json ?
    linksperpage looks abandoned right now.
     
  3. Support

    Support Administrator
    Staff Member A-Parser Enterprise

    Joined:
    Mar 16, 2012
    Messages:
    4,810
    Likes Received:
    2,231
    Send for diagnostics:
    1) one or more sets (each set of pages is a separate archive) in which 2-3 pages were received, but there should be more
    2) code for importing a task with included queries, by which this can be reproduced in the parser
     
  4. scrapefun

    scrapefun A-Parser Enterprise License
    A-Parser Enterprise

    Joined:
    Feb 24, 2015
    Messages:
    209
    Likes Received:
    37
    I figured this out. Thanks.
     
    Support likes this.

Share This Page