Um código que obtém todos os conteúdos do tabnews.
Primeiramente, instale as depedencias do projeto usando:
npm install
Depois disso altere as linhas 1 e 2
do index.js
e coloque seu email e senha
Depois, inicie o projeto com:
node index.js
Isso vai gerar o arquivo data.json
que contém todos os conteúdos
Como o tabnews tem muitos conteúdos (Mais de 1650 no momento que estou escrevendo isso) essa ação pode demorar mais de 1 hora.
P.S: Você pode usar o comando node beautify.js
para transformar o arquivo data.json
em um arquivo legivel.