reader icon indicating copy to clipboard operation
reader copied to clipboard

Reader only returning the cookie banner

Open NicolasAmadori opened this issue 9 months ago • 1 comments

Whenever I attempt to access a page from the unibo.it domain that includes a cookie banner, Jina only returns the content of the banner itself.

Here's an example: https://r.jina.ai/https://www.unibo.it/it/ateneo/organizzazione-e-sedi/servizi-di-ateneo/servizi-online/servizi-online-per-studenti/guida-servizi-online-studenti/liste-di-distribuzione-docenti-studenti

However, when utilizing the x-respond-with header (with any type), all the page content is properly returned.

NicolasAmadori avatar May 13 '24 07:05 NicolasAmadori

The default return timing didn't work. You may manually specify your point of interest.

Try with our new x-target-selector header:

curl https://r.jina.ai/https://www.unibo.it/it/ateneo/organizzazione-e-sedi/servizi-di-ateneo/servizi-online/servizi-online-per-studenti/guida-servizi-online-studenti/liste-di-distribuzione-docenti-studenti -H 'x-target-selector: #content'

nomagick avatar May 15 '24 17:05 nomagick