Google Infinite Scroll

-

< Opiniones de Google Infinite Scroll

Puntuación: Pasable; el script funciona, pero tiene carencias importantes

§
Publicado: 04/03/2025

In order to get this script to work on the News tab on Google, replace this in the fetchNextPage function:

const text = await (await fetch(`${baseUrl.origin}${baseUrl.pathname}?q=${baseUrl.searchParams.get('q')}&start=${pageNumber * 10}`)).text();

with this:

baseUrl.searchParams.set('start', pageNumber * 10);
const text = await (await fetch(baseUrl.toString())).text();

Publicar respuesta

Inicia sesión para responder.

长期地址
遇到问题?请前往 GitHub 提 Issues。