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

Need support: Retrieving entire chapter content from a website requires login and there is a delay when loading content #1162

Closed
laofun opened this issue Jan 13, 2024 · 2 comments

Comments

@laofun
Copy link

laofun commented Jan 13, 2024

Describe:

  1. Problem description:

    • I developed a Parser for metruyencv.com and integrated it into the WebToEpub project.
    • Parser works well with unencrypted chapters.
    • With encrypted chapters: the chapter content after the first page load is only a part, and the rest is loaded via the API, then decoded and displayed via canvas (obfuscated) after a period of time .
  2. Technical issues:

    • I wrote code to decrypting content from canvas to text (tested successfully on chrome console).
    • Need a method to wait and get the chapter content completely, including handling the login state and waiting until the content is converted to canvas and then decoded to text.

    URL of chapter: URL of chapter

@dteviot
Copy link
Owner

dteviot commented Jan 14, 2024

@laofun
It's a violation of the Chrome stores policy for an extension to bypass anti-copy measures. Doing so will get it banned.
If you want to do this for yourself, I'd suggest you try opening a tab, and then inject a content script into the tab.
https://developer.chrome.com/docs/extensions/develop/concepts/content-scripts

@gamebeaker
Copy link
Collaborator

closed as not planed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants