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

Sussy Scan: Missing pages in some chapters #6967

Open
7 tasks done
GodMan10 opened this issue Jan 3, 2025 · 10 comments · May be fixed by #7015
Open
7 tasks done

Sussy Scan: Missing pages in some chapters #6967

GodMan10 opened this issue Jan 3, 2025 · 10 comments · May be fixed by #7015
Labels
Bug Bugs in existing sources

Comments

@GodMan10
Copy link

GodMan10 commented Jan 3, 2025

Source information

Sussy scan 1.4.43

Source language

Português (Brasil)

Steps to reproduce

enter the manhwa
click to read the chapter

Expected behavior

open the chapter to read

Actual behavior

full chapter, both in browser and webview
Screenshot_20250103-193544_Brave
chapters with missing pages in sussy scan extension
20250103_193628

Mihon/Tachiyomi version

Mihon Stable 0.17.1

Android version

Android 10

Other details

No response

Acknowledgements

  • I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
  • I have written a short but informative title.
  • I have updated the app to version 0.15.3.
  • I have updated all installed extensions.
  • I have tried the troubleshooting guide.
  • If this is an issue with the app itself, I should be opening an issue in the app repository.
  • I will fill out all of the requested information in this form.


Add a 👍 reaction to issues you find important.

@GodMan10 GodMan10 added the Bug Bugs in existing sources label Jan 3, 2025
@Smol-Ame
Copy link
Contributor

Smol-Ame commented Jan 3, 2025

Which manga & which chapter?

@Smol-Ame

This comment has been minimized.

@GodMan10 GodMan10 changed the title Capitulos faltando paginas em algumas obras Sussy Scan: Missing pages in some chapters Jan 3, 2025
@KukasG
Copy link

KukasG commented Jan 4, 2025

Está faltando páginas dentro dos capítulos "upando com os deuses" do cap 98 ao 100, não está carregando todas as páginas do capítulo deixando incompleto, creio que isso se espalhe por toda a extensão

@wesleyveri
Copy link

The problem (I believe) is that somehow they separate the chapter images, and only 5 pages show up on the app. But when you open the site through the webview, all the pages are there. I’m not sure how they managed to bypass it, but that’s what’s happening.

@ewertonns
Copy link

Apparently this is only happening in manga that are number even. Ex. chapter 16 only has 5 pages, 17 is complete, 18 only has 5 pages, 19 is complete, and so on.
This is happening in every manga of this extension.

@GodMan10
Copy link
Author

GodMan10 commented Jan 4, 2025

Não é todo mangá que segue esse padrão, tem mangá por ex que tanto o capítulo 36 e 37 estão com páginas faltando.

@FinnDd064N
Copy link

It's happening with all Sussy Scan works, all chapters with a large or small number of pages end up with only 5...

@Kartatz
Copy link

Kartatz commented Jan 5, 2025

After playing with their API in Chrome DevTools, I found that they require an x-client-hash header to be sent with the request for the backend to return all the pages. When this header is missing, it only returns the first 5 pages of the chapter. Not sure why this is only reproducible on specific chapters, though.

without that header

curl https://api-dev.sussytoons.site/capitulos/115934 \
    -H 'origin: https://new.sussytoons.site' \
    -H 'user-agent: Mozilla/5.0 (Android 10; Mobile; rv:133.0) Gecko/133.0 Firefox/133.0' \
    -H 'scan-id: 1' \
    -H 'accept-language: pt-br,pt;q=0.9,en-us;q=0.8,en;q=0.7'
{
  "statusCode": 200,
  "resultado": {
    "cap_id": 115934,
    "cap_nome": "Capítulo 2",
    "cap_numero": 2,
    "cap_lancado_em": "2024-12-31 22:48:37.000",
    "cap_paginas": [
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/01.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/02.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/03.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/04.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/05.jpg",
        "mime": "image/jpeg"
      }
    ], <<< Page 06 is missing >>>
    "cap_disponivel": true,
    "tem_paginas": true,
    "total_paginas": 5,
    "ratings": {
      "1": 0,
      "2": 0,
      "3": 0,
      "4": 0,
      "5": 2
    },
    "meu_rating": null,
    "reports": [],
    "lido": false,
    "obra": {
      "obr_id": 8379,
      "obr_nome": "Uma Santa Que Foi Adotada pelo Grão-Duque",
      "scan_id": 1
    },
    "cap_anterior": 115923,
    "prox_cap": 115942
  }
}

with that header

curl https://api-dev.sussytoons.site/capitulos/115934 \
    -H 'origin: https://new.sussytoons.site' \
    -H 'user-agent: Mozilla/5.0 (Android 10; Mobile; rv:133.0) Gecko/133.0 Firefox/133.0' \
    -H 'scan-id: 1' \
    -H 'accept-language: pt-br,pt;q=0.9,en-us;q=0.8,en;q=0.7' \
    -H 'x-client-hash: TW96aWxsYS81LjAgKEFuZHJvaWQgMTA7IE1vYmlsZTsgcnY6MTMzLjApIEdlY2tvLzEzMy4wIEZpcmVmb3gvMTMzLjA='
{
  "statusCode": 200,
  "resultado": {
    "cap_id": 115934,
    "cap_nome": "Capítulo 2",
    "cap_numero": 2,
    "cap_lancado_em": "2024-12-31 22:48:37.000",
    "cap_paginas": [
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/01.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/02.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/03.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/04.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/05.jpg",
        "mime": "image/jpeg"
      },
      {
        "src": "/1b3c9406266f4b9615ab681af45289cb/06.jpg",
        "mime": "image/jpeg"
      } <<< Page 06 available >>>
    ],
    "cap_disponivel": true,
    "tem_paginas": true,
    "total_paginas": 6,
    "ratings": {
      "1": 0,
      "2": 0,
      "3": 0,
      "4": 0,
      "5": 2
    },
    "meu_rating": null,
    "reports": [],
    "lido": false,
    "obra": {
      "obr_id": 8379,
      "obr_nome": "Uma Santa Que Foi Adotada pelo Grão-Duque",
      "scan_id": 1
    },
    "cap_anterior": 115923,
    "prox_cap": 115942
  }
}

@FinnDd064N
Copy link

FinnDd064N commented Jan 6, 2025

I'm back to normal, but the buggy chapters are still only 5 pages long... New chapters are coming with the normal amount of pages.

Volto ao normal, mas os capitulos que bugaram continuam com só 5 paginas... Novos capitulos estão vindo com a quantidade normal de paginas.

@wesleyveri
Copy link

is there any way to manually add this header to the app, or are we gonna have to wait for an update?

@choppeh choppeh linked a pull request Jan 6, 2025 that will close this issue
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Bugs in existing sources
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants