Skip to content

Instantly share code, notes, and snippets.

@MaikeMota
Created August 28, 2018 17:27
Show Gist options
  • Save MaikeMota/fa591f66bc95495713e3e2f695f2f540 to your computer and use it in GitHub Desktop.
Save MaikeMota/fa591f66bc95495713e3e2f695f2f540 to your computer and use it in GitHub Desktop.
Nubank Bills Download
let billsToCSV = [];
document.querySelectorAll('[ng-click]').forEach((item, i)=> {
let text = item.textContent;
if(text !== undefined && text.indexOf("Exportar para CSV") > 0){
billsToCSV.push(item);
}
});
billsToCSV.forEach((item, index) => {
setTimeout(()=>{
item.click();
}, (index * 1000 ) + 1000)
});
@MaikeMota
Copy link
Author

MaikeMota commented Aug 28, 2018

Uso: Entre em sua conta do Nubank pelo Web App, abra o Console de Desenvolvedor e rode o código acima.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment