The solution to all of society’s ills: Ban infinite scrolling
All content should only be surfaced via search, or lists that are the same for every user.
And autoplay next content should default to off.
I work in computers btw
Crawlers would have to execute JS and do additional requests, which is not feasible at all.
Content shouldn't be optimized for the most brittle consuming users and infinite scroll should be an anti-pattern of the most severe degree. I don't know which boneheaded webdevs recommend it to customers, since it is a most effective mechanism to kill discoverability.