Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Páginas do New York Times não exibem “charater entities” corretamente #12

Open
rghedin opened this issue Jan 15, 2025 · 2 comments
Labels
bug Something isn't working

Comments

@rghedin
Copy link

rghedin commented Jan 15, 2025

Este trecho desta matéria, por exemplo:

I’m a therapist who writes about housekeeping hacks for messy people. When I post videos about my home — a place where clean laundry is tossed unfolded into baskets and a giant trash can on wheels rolls around my kitchen —

Ao passar a página pelo Marreta, é renderizado assim:

I ’ m a therapist who writes about housekeeping hacks for messy people. When I post videos about my home — a place where clean laundry is tossed unfolded into baskets and a giant trash can on wheels rolls around my kitchen —

@rghedin rghedin added the bug Something isn't working label Jan 15, 2025
@altendorfme
Copy link
Collaborator

No teste inicial eu percebi que é algo em JS que faz o estrago, provavelmente a requisição que traz o "resto" do conteudo dinamicamente, porque em primeiro momento o encode vem correto. 👀

@rghedin
Copy link
Author

rghedin commented Jan 17, 2025

Pensei em remover todos os scripts, mas aqui, pelo menos, dá erro (“We are having trouble retrieving the article content. Please enable JavaScript in your browser settings.”) e não carrega a matéria completa.

Pelo que vi do código, vários scripts são agregados em um ou alguns poucos arquivos. Esse comportamento inviabiliza o caminho de deixar a página livre de JavaScript, né?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants