WebToEpub icon indicating copy to clipboard operation
WebToEpub copied to clipboard

Remove support for comrademao.com

Open dteviot opened this issue 5 years ago • 26 comments

From Tyr Ant

Hi mate,

I'm administrator of comrademao.com and I would like to kindly ask you to remove all support for scraping and making epubs from comrademao.com website. Normally, we wouldn't care but unfortunately when people use your plugin to scrape the chapters from our website the cpu loads spike up and the process itself disturbs the whole experience for every other reader.

dteviot avatar Jul 01 '19 08:07 dteviot

dont man we need it administrator of comrademao.com DON`T DO THAT plzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzzz

gb001 avatar Jul 05 '19 05:07 gb001

@gb001

I'm sorry, but there are over 100 people hitting comrademao with WebToEpub simultaneously. And the site just can't handle it. That said, the administrators don't mind epubs being made and they're willing to look at providing some sort of pre-built epubs. It's just not a priority for them at the moment. My suggestion is, contact them on Discord and see if they're willing to do some sort of arrangement. For example, allow one person to create epubs on a scheduled basis (weekly maybe?) and then make them available somewhere for general download (e.g. patreon.)

dteviot avatar Jul 06 '19 03:07 dteviot

comon man, we really need this to work on comrademao. Admin please find a way. make it work only on some specific time on a weekend or something.

I cant read throw the website on my mobile otherwise.

AlenToma avatar Aug 30 '20 18:08 AlenToma

@AlenToma

There isn't anything I can do. Site staff were nice enough to ask me to stop supporting Comrademao.. They could have just complained to Google and had WebToEpub banned.

dteviot avatar Aug 30 '20 19:08 dteviot

@AlenToma

I just realized, you're a developer. So, there is a solution. You can install from source (instructions https://github.com/dteviot/WebToEpub) and remove the ComradeMao lockout. https://github.com/dteviot/WebToEpub/blob/14056cadb7da7bbdb4a8c22515418a55ef3bc2a3/plugin/js/parsers/ComrademaoParser.js#L10-L12

Note, looks like the site has changed a bit, so you may need to make some additional changes to the parser to cope.

dteviot avatar Aug 30 '20 20:08 dteviot

Ok, I dont know if i really should say that but i forked this and made some changes to parse Comrademao.

https://github.com/AlenToma/WebToEpub

Admin delete this entry if its not ok thx

AlenToma avatar Aug 30 '20 22:08 AlenToma

@AlenToma No problem, thanks for the update.

dteviot avatar Aug 31 '20 00:08 dteviot

@AlenToma A few more changes that might interest you. https://github.com/dteviot/WebToEpub/commit/efc3913b218bb514e842051c3a0701bdc959210a

  • Most notable is fixing up chapter titles.
  • Rest is just getting rid of stuff that's no longer relevant.

dteviot avatar Aug 31 '20 08:08 dteviot

Ok i have anabled ComrademaoParser Download the addons agen now it should work.

Note you may have to download the latest update from https://github.com/Stuk/jszip also

AlenToma avatar Sep 26 '20 05:09 AlenToma

Ok i have anabled ComrademaoParser Download the addons agen now it should work.

Note you may have to download the latest update from https://github.com/Stuk/jszip also

Thanks man! very cool!

seadesert avatar Sep 26 '20 05:09 seadesert

Ok i have anabled ComrademaoParser Download the addons agen now it should work.

Note you may have to download the latest update from https://github.com/Stuk/jszip also

Yeah works fine!

seadesert avatar Sep 26 '20 05:09 seadesert

Ok i have anabled ComrademaoParser Download the addons agen now it should work.

Note you may have to download the latest update from https://github.com/Stuk/jszip also

if i may ask how do i use the file to let webtoepub access comrademao.com

maou-213 avatar Jan 31 '21 13:01 maou-213

@maou-213 @AlenToma has made a modified version of WebToEpub.at https://github.com/AlenToma/WebToEpub

  1. Follow the "How to install from Source" instructions at https://github.com/AlenToma/WebToEpub#how-to-install-from-source Note, because you'll want AlenToma's version, replace "dteviot" in the URLs to fetch with "AlenToma"

dteviot avatar Jan 31 '21 20:01 dteviot

The website has changed, I dont think that the parser still work?

By the way I have started working on a mobile project that can view novels from many sites. Check it out here I have not yet publish it. it will be published in few days.

AlenToma avatar Jan 31 '21 21:01 AlenToma

@AlenToma

The website has changed, I dont think that the parser still work?

I don't know. I don't track that site.

By the way I have started working on a mobile project that can view novels from many site

Screenshots look awesome. I wish you the best of luck with it.

dteviot avatar Feb 01 '21 00:02 dteviot

@maou-213 @AlenToma has made a modified version of WebToEpub.at https://github.com/AlenToma/WebToEpub

  1. Follow the "How to install from Source" instructions at https://github.com/AlenToma/WebToEpub#how-to-install-from-source Note, because you'll want AlenToma's version, replace "dteviot" in the URLs to fetch with "AlenToma"

I seem to be having a problem downloading epub because at the end of the download it saids that jszip is not defined how do i fix it

maou-213 avatar Feb 01 '21 19:02 maou-213

@maou-213

it says that jszip is not defined

You probably haven't installed jszip correctly. it's steps 4 and 5. However, there might be an easier alternative.

  1. Get the assembled zip for Firefox or Chrome from https://drive.google.com/drive/folders/1B_X2WcsaI_eg9yA-5bHJb8VeTZGKExl8?usp=sharing.
  2. Unzip the zip file.
  3. Replace the file ComrademaoParser.js with the one you got previously from AlenToma.

dteviot avatar Feb 01 '21 20:02 dteviot

@dteviot You can add a "1 second sleep" between parsing of each chapter. This won't overload the sites we scrape.

DebanganThakuria avatar Feb 24 '21 06:02 DebanganThakuria

@DebanganThakuria It's not that simple. The site owners have nicely asked me to remove support. They COULD have just told Google it's being used to DDOS their site. And Google would immediately ban WebToEpub.

dteviot avatar Feb 24 '21 19:02 dteviot

Somebody help please.....i am not a coder and dont know nothing about program language .....but i really want to read "EDGE OF APOCALYPSE" novel from comrademao site. Web to epub is not working..... Could anyone send me the packed epub file to [email protected]

akash333777 avatar Apr 04 '21 16:04 akash333777

@akash333777 hi i send it to you the content is from comrademao i used max. 4 fetch simultaneously and 3sec/chap to prevent server spikes as a tipp for the future simple google the name and look if other pages have the same story i found https://wuxiaworld.online/166572/edge-of-the-apocalypse after one search and this site isn't locked in webtoepub.

gamebeaker avatar Apr 05 '21 13:04 gamebeaker

Hello guys, im also in need of the version of @AlenToma but i cant seem to follow his instructions. Can i ask any kind souls here to please send me the link or file of the finished version at [email protected]. I really want to read novels and its my life but i cant do it online cause of financial problem and only offline reading is best for me. Thank you for helping me!

NotAProgramNerd avatar Apr 11 '21 02:04 NotAProgramNerd

@NotAProgramNerd i would recommend using the github app https://desktop.github.com/ and fork or clone https://github.com/dteviot/WebToEpub than you simple go to plugin->js->parsers->comrademaoparser.js open in notepad or something like that write "/*" in line 9 and "*/" in line 18 without the " . now you should be able to use it in chrome or firefox if you follow this guide remember you have downloaded it und don't need to download it again. I am sure the server would appreciate it if you would set Max web pages to fetch simultaneously to 4 and Manual Throttle|Delay per chapter to 3sec/ chapter to prevent server spikes which was the reason it got locked. If you have time you can make it even slower. chrome at point 6 firefox at point 8 https://github.com/dteviot/WebToEpub#how-to-install-from-source

gamebeaker avatar Apr 11 '21 14:04 gamebeaker

Thank you very much! I really appreciate your effort 😊 Many many thanks!

Sent from Mail for Windows 10

From: gamebeaker Sent: Sunday, 11 April 2021 10:35 pm To: dteviot/WebToEpub Cc: NotAProgramNerd; Mention Subject: Re: [dteviot/WebToEpub] Remove support for comrademao.com (#279)

@NotAProgramNerd i would recommend using the github app https://desktop.github.com/ and fork or clone https://github.com/dteviot/WebToEpub than you simple go to plugin->js->parsers->comrademaoparser.js open in notepad or something like that write "/" in line 9 and "/" in line 18 without the " . now you should be able to use it in chrome or firefox if you follow this guide remember you have downloaded it und don't need to download it again. chrome at point 6 firefox at point 8 https://github.com/dteviot/WebToEpub#how-to-install-from-source — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

NotAProgramNerd avatar Apr 11 '21 15:04 NotAProgramNerd

@NotAProgramNerd i would recommend using the github app https://desktop.github.com/ and fork or clone https://github.com/dteviot/WebToEpub than you simple go to plugin->js->parsers->comrademaoparser.js open in notepad or something like that write "/" in line 9 and "/" in line 18 without the " . now you should be able to use it in chrome or firefox if you follow this guide remember you have downloaded it und don't need to download it again. I am sure the server would appreciate it if you would set Max web pages to fetch simultaneously to 4 and Manual Throttle|Delay per chapter to 3sec/ chapter to prevent server spikes which was the reason it got locked. If you have time you can make it even slower. chrome at point 6 firefox at point 8 https://github.com/dteviot/WebToEpub#how-to-install-from-source

oh sorry, i need to clarify something. after i forked the program then edited it in github by adding the / , i should click propose changes? i clicked that and i dont know what to do next.

NotAProgramNerd avatar Apr 11 '21 15:04 NotAProgramNerd

https://www.readwn.com/ - it have all comrademao.com novel [including newly added one]

Finks82 avatar May 22 '21 04:05 Finks82