GithubHelp home page GithubHelp logo

Comments (10)

realabertian avatar realabertian commented on September 26, 2024 1

A workaround: just using hakuneko web browser function to open the website and login (keep your cookie info) , than any request make by hakuneko will append cookie info , which will bypass the block

from hakuneko.

MikeZeDev avatar MikeZeDev commented on September 26, 2024

Cant reproduce the problem

image

Cant you access to the website in read browser? Disable you antivirus? you really tried nightly?

from hakuneko.

realabertian avatar realabertian commented on September 26, 2024

Cant reproduce the problem

image

Cant you access to the website in read browser? Disable you antivirus? you really tried nightly?

it's seem the app has cache problem

from hakuneko.

realabertian avatar realabertian commented on September 26, 2024

I'm trying the steps to reproduce the cache problem

from hakuneko.

realabertian avatar realabertian commented on September 26, 2024

The root cause is that if you refresh continuously without logging in, you will be blocked by the website. It only takes a few refreshes for my IP to trigger. The tolerance of the website may be related to your IP address region.

The blocking occurs in Get Manga Chapter List

from hakuneko.

MikeZeDev avatar MikeZeDev commented on September 26, 2024

Well then there is nothing we can do 🤷 . Sorry

from hakuneko.

realabertian avatar realabertian commented on September 26, 2024

Well then there is nothing we can do 🤷 . Sorry

I'm trying to add some header to the chatper request, but the code did not take effect
ManHuaGui:
`
export default class ManHuaGui extends SinMH {

constructor() {
    super();
    super.id = 'manhuagui';
    super.label = '看漫画 (ManHuaGui)';
    this.tags = [ 'webtoon', 'chinese' ];
    this.url = 'https://www.manhuagui.com';
    this.requestOptions.headers.set('cookie', 'some cookie content');
    this.requestOptions.headers.set('authority', 'www.manhuagui.com');
    this.requestOptions.headers.set('cache-control', 'max-age=0');
    this.requestOptions.headers.set('accept-language', 'en-US,en;q=0.9,zh-TW;q=0.8,zh;q=0.7,ja-JP;q=0.6,ja;q=0.5,zh-CN;q=0.4');
    this.requestOptions.headers.set('accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7');

`

I tried to break the point to view the header of the request object constructed during actual execution, and found that the headers I configured were not filled in. I don't know why this happened.

Use the curl command in the terminal with these headers to bypass website blocking. it works.

from hakuneko.

realabertian avatar realabertian commented on September 26, 2024

Well then there is nothing we can do 🤷 . Sorry

I'm trying to add some header to the chatper request, but the code did not take effect ManHuaGui: ` export default class ManHuaGui extends SinMH {

constructor() {
    super();
    super.id = 'manhuagui';
    super.label = '看漫画 (ManHuaGui)';
    this.tags = [ 'webtoon', 'chinese' ];
    this.url = 'https://www.manhuagui.com';
    this.requestOptions.headers.set('cookie', 'some cookie content');
    this.requestOptions.headers.set('authority', 'www.manhuagui.com');
    this.requestOptions.headers.set('cache-control', 'max-age=0');
    this.requestOptions.headers.set('accept-language', 'en-US,en;q=0.9,zh-TW;q=0.8,zh;q=0.7,ja-JP;q=0.6,ja;q=0.5,zh-CN;q=0.4');
    this.requestOptions.headers.set('accept', 'text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3;q=0.7');

`

I tried to break the point to view the header of the request object constructed during actual execution, and found that the headers I configured were not filled in. I don't know why this happened.

Use the curl command in the terminal with these headers to bypass website blocking. it works.

Just add a prefix 'x-', it works @MikeZeDev maybe we can provide a cookie input items to users to help users bypass block

from hakuneko.

MikeZeDev avatar MikeZeDev commented on September 26, 2024

Manually Input cookie? No, we are not gonna add something like this. Its a bad workaround, its ugly.

Moreover

"The blocking occurs in Get Manga Chapter List"
"it's seem the app has cache problem"

Problem? Its not a problem. Its on purpose. Once you fetch chapter list it stays cached until you close the app, to avoid doing more requests on servers. What we lack is a way to force the reload but its not a "bug" per se.

You talked about login. Are there more chapters available after login? Or you are just login for the purpose of testing their IP block?

Anyway, its too much a hassle, most users will just use a VPN .

from hakuneko.

MikeZeDev avatar MikeZeDev commented on September 26, 2024

A workaround: just using hakuneko web browser function to open the website and login (keep your cookie info) , than any request make by hakuneko will append cookie info , which will bypass the block

Thats a good way i guess thanks for that <3

from hakuneko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.