dteviot / WebToEpub

A simple Chrome (and Firefox) Extension that converts Web Novels (and other web pages) into an EPUB.
Other
654 stars 124 forks source link

Error login Kakaopage #827

Closed courli79 closed 1 year ago

courli79 commented 1 year ago

Describe the bug Even if I am connected to my login on kakaopage, Wep to Epub indicates a login error when it is launched on the web pages of kakaopage while I did not have this problem last month.

To Reproduce Steps to reproduce the behavior:

  1. Go to : https://pagestage.kakao.com/novels/53621791
  2. Click on : login (at the top right of the page), login, wait for the login logo to change on the account user, then launch WebtoEpub
  3. See error : "Fetch of URL 'https://api-pagestage.kakao.com/users/login' failed with network error 401. onResponseError@moz-extension://a4da0363-e35f-4bdd-8d9d-8ed79c139c94/js/HttpClient.js :32:25"
  4. same problem on chrome and firefox

Expected behavior display of chapters to create the epub

courli79 commented 1 year ago

Hello, I found the solution to the problem, in the Kakao parser, in async setAuthorizationToken, just replace "https://api-pagestage.kakao.com/users/login" with "https://page.kakao .com/api/login" This works for me.

dteviot commented 1 year ago

@courli79

Works for me to, (at least for https://pagestage.kakao.com/novels/53621791) Thank you very much for figuring this out.

Test versions for Firefox and Chrome have been uploaded to https://drive.google.com/drive/folders/1B_X2WcsaI_eg9yA-5bHJb8VeTZGKExl8?usp=sharing.

Edit, for my notes: 15 minutes work. (Mostly paperwork)

dteviot commented 1 year ago

@courli79

Updated version (0.0.0.151) has been submitted to Firefox and Chrome stores. Firefox version is available now. Chrome might be available in 1 to 3 weeks. If you can't wait, Test versions for Firefox and Chrome have been uploaded to https://drive.google.com/drive/folders/1B_X2WcsaI_eg9yA-5bHJb8VeTZGKExl8?usp=sharing. Pick the one suitable for you, follow the "How to install from Source (for people who are not developers)" instructions at https://github.com/dteviot/WebToEpub/tree/ExperimentalTabMode#user-content-how-to-install-from-source-for-people-who-are-not-developers and let me know how it goes.