dteviot / WebToEpub

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

Can anyone help me get Mtlnation parser #1256

Open AdrianJack opened 7 months ago

AdrianJack commented 7 months ago

I read using mtlnation almost all the time. I know they requested removal of services, but can anyone help me with the code? I'm not very knowledgeable about coding... Please...

dteviot commented 7 months ago

@Adrianjack

Basic steps are:

  1. Download a pre-built version of WebToEpub from Google drive. (See https://github.com/dteviot/WebToEpub)
  2. Unzip the file.
  3. In the unzipped contents, find the file MtlnationParser.js
  4. Remove the code that prevents it running and save the file
  5. Run the modified extension.
AdrianJack commented 7 months ago

That's the thing... It doesn't return chapters. Can you please help... I don't know anything about coding and don't have a pc. Please...

On Sat, 16 Mar 2024, 2:29 am dteviot, @.***> wrote:

@Adrianjack https://github.com/Adrianjack

Basic steps are:

  1. Download a pre-built version of WebToEpub from Google drive. (See https://github.com/dteviot/WebToEpub)
  2. Unzip the file.
  3. In the unzipped contents, find the file MtlnationParser.js
  4. Remove the code that prevents it running and save the file
  5. Run the modified extension.

— Reply to this email directly, view it on GitHub https://github.com/dteviot/WebToEpub/issues/1256#issuecomment-2000432032, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBJV7TFVTMCDF3CYY43SFC3YYNOLDAVCNFSM6AAAAABEYQUUEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGQZTEMBTGI . You are receiving this because you were mentioned.Message ID: @.***>

dteviot commented 7 months ago

@Adrianjack Site has changed. And as site is not supported, no-one has updated the parser. You might try the steps again, changing step 4 to deleting the line

parserFactory.register("mtlnation.com", () => new MtlnationParser());

This should get WebToEpub to fall back to the default parser, and then you can try putting in values for that. Note, I think this will only get 50 chapters at a time.

AdrianJack commented 7 months ago

I did try removing the parser altogether. The default parser returns 50 chapters at a time which is... I just wanted to know if anything could be done. The novels i read have 200+ chaps at min. So... Yeah. Thanks. Please tell me if you could help.

On Sun, 17 Mar 2024, 1:11 am dteviot, @.***> wrote:

@Adrianjack https://github.com/Adrianjack Site has changed. And as site is not supported, no-one has updated the parser. You might try the steps again, changing step 4 to deleting the line

parserFactory.register("mtlnation.com", () => new MtlnationParser());

This should get WebToEpub to fall back to the default parser, and then you can try putting in values for that. Note, I think this will only get 50 chapters at a time.

— Reply to this email directly, view it on GitHub https://github.com/dteviot/WebToEpub/issues/1256#issuecomment-2002102753, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBJV7THPANK73OU2652RIJLYYSN43AVCNFSM6AAAAABEYQUUEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGEYDENZVGM . You are receiving this because you were mentioned.Message ID: @.***>

dteviot commented 7 months ago

@Adrianjack

I've helped you about as much as I can. As Site Owners have requested WebToEpub not work for the site, I'm unwilling to spend time building a working parser. Although if you have questions, I'll be happy to answer them.

AdrianJack commented 7 months ago

Thanks.

On Tue, 19 Mar 2024, 12:36 pm dteviot, @.***> wrote:

@Adrianjack https://github.com/Adrianjack

I've helped you about as much as I can. As Site Owners have requested WebToEpub not work for the site, I'm unwilling to spend time building a working parser. Although if you have questions, I'll be happy to answer them.

— Reply to this email directly, view it on GitHub https://github.com/dteviot/WebToEpub/issues/1256#issuecomment-2006021836, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBJV7TDMCWSTTUOZHSLDJDDYY7PXBAVCNFSM6AAAAABEYQUUEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBWGAZDCOBTGY . You are receiving this because you were mentioned.Message ID: @.***>

AdrianJack commented 7 months ago

I found an extension for Mtlnation (shosetsu). Its written in lua can you please make it work. I don't know programming languages. https://gitlab.com/shosetsuorg/extensions/-/raw/dev/src/en/MTLNation.lua?inline=false

On Tue, 19 Mar 2024, 1:32 pm ᴀʟᴅʀɪɴ ʀɪsʜɪ, @.***> wrote:

Thanks.

On Tue, 19 Mar 2024, 12:36 pm dteviot, @.***> wrote:

@Adrianjack https://github.com/Adrianjack

I've helped you about as much as I can. As Site Owners have requested WebToEpub not work for the site, I'm unwilling to spend time building a working parser. Although if you have questions, I'll be happy to answer them.

— Reply to this email directly, view it on GitHub https://github.com/dteviot/WebToEpub/issues/1256#issuecomment-2006021836, or unsubscribe https://github.com/notifications/unsubscribe-auth/BBJV7TDMCWSTTUOZHSLDJDDYY7PXBAVCNFSM6AAAAABEYQUUEGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBWGAZDCOBTGY . You are receiving this because you were mentioned.Message ID: @.***>

dteviot commented 7 months ago

@Adrianjack Have you considered using shosetsu? Failing that, there's a couple of other desktop tools that do Web To Epub conversion. And I think a website or two. Google might be your friend here.