WebToEpub icon indicating copy to clipboard operation
WebToEpub copied to clipboard

panda-novel only downloading titles

Open autoNMS opened this issue 2 years ago • 18 comments

While using epub on panda novel, it is only downloading the titles, and not the chapter content

Steps to reproduce the behavior:

  1. Go to pandanovel
  2. select any novel
  3. click web to epub

it populates chapters with proper urls, but when i open epub it only has chapter no and title.

autoNMS avatar Aug 02 '22 02:08 autoNMS

Yes, the same thing is happening to me. Pls, fix this.

Jayanth005 avatar Aug 03 '22 17:08 Jayanth005

Hi @dteviot

It seems the website chapter contents are dynamically put.

Attaching the fixed parser: PandaNovelParser.zip

nandakishore2009 avatar Aug 07 '22 19:08 nandakishore2009

Working after adding the new parser Thank you @nandakishore2009

autoNMS avatar Aug 07 '22 21:08 autoNMS

@nandakishore2009

  1. Firstly, thank you for the revised parser, it is appreciated.
  2. I'd like for GitHub to record you doing this work, so can you submit it as a Pull Request to the https://github.com/dteviot/WebToEpub/tree/ExperimentalTabMode banch?
  3. If you are going to submit, there's a couple of changes that would be good. 3.1. Mozilla and Google don't like extensions that write to the innerHTML property. Preferred way is to use the DOMParser. See https://github.com/dteviot/WebToEpub/commit/8ac62f0cd97d99eee0c9b77c96dd35168c6d8701 for an example of how I've fixed this in the past 3.2 Line 57 uses single quotes, they should be double quotes. 3.3 The empty block on line 59 gives a eslint error, fix with comment like so
            } catch (e) { }  // eslint-disable-line no-empty

Finally, unfortunately, the PandaNovel site isn't working for me. Even when I view it in the browser, stories don't show any table of contents. Do I need to log in?

dteviot avatar Aug 09 '22 07:08 dteviot

Finally, unfortunately, the PandaNovel site isn't working for me. Even when I view it in the browser, stories don't show any table of contents. Do I need to log in?

Not at all, you needn't be logged in to view chapters.

@dteviot

unOmni avatar Aug 14 '22 17:08 unOmni

@nandakishore2009 Test versions for Firefox and Chrome have been updated with your code and 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.

Note, not all chapters work. e.g this one does not work. (Attempts to get chapters fail with 403 errors, I'm guessing some sort of permission issue.)

  • https://www.panda-novel.com/details/my-daughter-is-a-vampire(AN)-1443

While this does work

  • https://www.panda-novel.com/details/my-cold-and-elegant-ceo-wife(AN)-768

I have not yet investigated why this is.

dteviot avatar Sep 03 '22 06:09 dteviot

@unOmni @autoNMS @Jayanth005 @nandakishore2009

Very strange.

  • https://www.panda-novel.com/details/my-daughter-is-a-vampire(AN)-1443 now worked. But today.
  • https://www.panda-novel.com/details/pornstar-system-1602 did not work. And then did. I'm not sure what I did to make it work.
  • Perhaps looked at a chapter? and then tried it again?
  • Perhaps multiple tabs open? If you can figure out what's going on, it would be nice to know.

dteviot avatar Sep 10 '22 23:09 dteviot

@unOmni @autoNMS @Jayanth005 @nandakishore2009 PS.

Updated version (0.0.0.150) has been submitted to Firefox and Chrome stores. Firefox version is available now. Chrome might be available in 1 to 3 weeks.

dteviot avatar Sep 10 '22 23:09 dteviot

@dteviot

From my experience it seems it has something to do with captcha verification. If I enter the site straight using https://www.panda-novel.com/top , it'll take me in without any captcha therefore giving me an error everytime i try to use WTE. However when I go through captcha, WTE works just fine.

ps: tried on Firefox/android

unOmni avatar Sep 11 '22 12:09 unOmni

@unOmni How do you get the captcha? Also, have you tried to log in with an account?

dteviot avatar Sep 11 '22 22:09 dteviot

@dteviot

I'm always connected with an account.

To get captcha, or to just get the secure connection check process, just simply use panda-novel.com instead of the link I mentioned before.

unOmni avatar Sep 11 '22 22:09 unOmni

@unOmni How do you get the captcha? Also, have you tried to log in with an account?

@dteviot

No more account necessary...

In my experience you have to type the main address only or without https, or it can be with http only.

For example:

panda-novel.com

Or:

http://www.panda-novel.com (remember no s letter). .

NOTE: Before do that, you must clear all first browser cache/website server data (especially from panda, if you're an expert one). But keep local history and local downloads, or you'll lose everything... 😆

budikesuma avatar Sep 24 '22 07:09 budikesuma

Hi, I'm getting a 403 error when I try to convert. Its been about 2-3 weeks since I've scrapped my first book and I've only ever used webtoepub on this site once. I've cleared my cache/history and re-downloaded the extention, I guess the only thing that im unable to do is get the captcha when i enter the site. I've followed @budikesuma 's example using just panda-novel.com and http://www.panda-novel.com (without the "s") but the captcha still doesnt show for me. I've even paid for VPN and changed IP. Can someone please explain what im doing wrong?

Ayrsetz001 avatar Nov 04 '22 00:11 Ayrsetz001

Hi, I'm getting a 403 error when I try to convert. Its been about 2-3 weeks since I've scrapped my first book and I've only ever used webtoepub on this site once. I've cleared my cache/history and re-downloaded the extention, I guess the only thing that im unable to do is get the captcha when i enter the site. I've followed @budikesuma 's example using just panda-novel.com and http://www.panda-novel.com (without the "s") but the captcha still doesnt show for me. I've even paid for VPN and changed IP. Can someone please explain what im doing wrong?

You have to go into the novel and bring up the table of contents, then in the address bar, remove the s from https to make it http, ok? Then enter/go...

If it doesn't work either then you're in for a very bad time, 😥🤔 Make sure to disable adblocker first, ok...

No need vpn, What can a vpn do? It's not a site that your country blocks, is it? You should understand the function of vpn.

budikesuma avatar Nov 04 '22 00:11 budikesuma

@budikesuma yeah, it's still not working for me. ad blocker is disabled and deleted the "s" on the web link on table of content, the page reloaded but still getting the 403 error...

Ayrsetz001 avatar Nov 04 '22 00:11 Ayrsetz001

https is forced this time it seems. can't use http

unOmni avatar Nov 04 '22 07:11 unOmni

I repeated it again today, and it still worked, didn't it? Everyone's experience is different... . . Screenshot_20221106-014424_Browser

Screenshot_20221106-014254_Browser

Screenshot_20221106-014346_Browser

budikesuma avatar Nov 05 '22 18:11 budikesuma

they updated the site today and it seems to be working again.

unOmni avatar Nov 05 '22 18:11 unOmni