keiyoushi / extensions-source

Source code of extensions for Tachiyomi/Mihon and variants.
https://keiyoushi.github.io/
Apache License 2.0
2.25k stars 505 forks source link

[PT-BR] Blackout Comics: No results found #4426

Closed viminio closed 3 months ago

viminio commented 4 months ago

Source information

Blackout Comics

Source language

Portuguese (Brazilian)

Steps to reproduce

  1. Open extension
  2. Login
  3. Open Manga
  4. Start reading
  5. Error

Expected behavior

Load chapters

Actual behavior

No chapter loads

Mihon/Tachiyomi version

0.16.4

Android version

Android 11

Other details

image

Acknowledgements

viminio commented 4 months ago

I'm downloading it manually with the following code

function pageListParse(document) { return Array.from(document.querySelectorAll("div.img-capitulos canvas")) .map((item, index) => ({ index: index, url: item.getAttribute("w78b4861f0"), })); }

function downloadImage(url, index) { const link = document.createElement("a"); link.href = url; link.download = image-${index}.jpg; // Nome do arquivo para download document.body.appendChild(link); link.click(); document.body.removeChild(link); }

async function downloadAllImages() { const images = pageListParse(document); images.forEach((image) => { downloadImage(image.url, image.index); }); }

// Executar a função para baixar todas as imagens downloadAllImages();

AwkwardPeak7 commented 4 months ago

please censor nsfw images