Cannot read properties of null (reading 'textContent') from Patreon
Describe the bug TypeError: Cannot read properties of null (reading 'textContent') at PatreonParser.extractTitleImpl (chrome-extension://cbjinfddidgmkpjidgajmedilckihgla/js/parsers/PatreonParser.js:66:39) at PatreonParser.extractTitle (chrome-extension://cbjinfddidgmkpjidgajmedilckihgla/js/Parser.js:217:26) at PatreonParser.getEpubMetaInfo (chrome-extension://cbjinfddidgmkpjidgajmedilckihgla/js/Parser.js:271:31) at processInitialHtml (chrome-extension://cbjinfddidgmkpjidgajmedilckihgla/js/main.js:44:39) at populateControlsWithDom (chrome-extension://cbjinfddidgmkpjidgajmedilckihgla/js/main.js:253:9) at onMessageListener (chrome-extension://cbjinfddidgmkpjidgajmedilckihgla/js/main.js:16:13)
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- open WebtoEpub extension and see error message.
Expected behavior Should bring up the usual screen to choose chapters and turn into epub
Screenshots
Desktop (please complete the following information):
- OS: Windows 11
- Browser: Edge & Chrome
- Version: Edge: Version 127.0.2651.105; windows11 23H2
Additional context I know this has happened before. I tried to download the packed version and add it to my browser that way, but the error is still there.
@CosionMa i deleted your Comment because you didn't provide more info what this exe should be.
looks like it is the same as in #1447 same file name, zip password, instruction If someone just sends a download link without more info i am just going to delete it with a reference to this comment.
@pounat
I just tried the following, with no problems.
- https://www.patreon.com/cerim
- https://www.patreon.com/ddwebb
Please provide URL you had problem with.
Same error on win 10 chrome. Strange as it worked perfectly about a week ago (Oct 22) with the same URL. Here is URL causing issue for me now: https://www.patreon.com/collection/554947
@Undecaine
I'm not getting that error. The error message indicates that WebToEpub is unable to find a <H1> element with the title. That said, Patreon is doing stuff to make Chrome fail when opening dev tools to look at the page.
@dteviot
I noticed this with chrome as well when troubleshooting, annoying. Inspect element works in Firefox browser but I get a different error when running the addon in Firefox.
@Undecaine
I get a different error when running the addon in Firefox.
What error do you get?
@dteviot
This is the error in Firefox
Any updates on this? I still get this error on Patreon feeds regardless of browser used
@stormbeta do you have a link i can try to see the error? the free post on https://www.patreon.com/ddwebb work for me
I get a very similar error to this when I try to use WebToEpub on a single Patreon post. But using it on the creator's home page results in no error. So maybe it has to do with how WebToEpub expects to parse the list of posts?
As a possibly related addendum, I also noticed that when viewing a collection, the parser only correctly picks up posts if you set the view to condensed, while it detects no posts if the view is set to expanded (which appears to be the default view).
@dastrdly6585
set the view to condensed, while it detects no posts if the view is set to expanded (which appears to be the default view).
How do you set condensed vs expanded?
@dteviot
In the options bar for a collection, on the very left there is a toggle between two options. The left one (looks like a window) is the expanded view, while the right one (the bullet list) is the condensed view:
I get this error whenever I use an alternate filter or sort order. Using the standard order works fine, but applying any sort of filter results in this issue. Tested in both Firefox and Chrome.
TypeError: Cannot read properties of null (reading 'textContent') at PatreonParser.cardToChapter (chrome-extension://akiljllkbielkidmammnifcnibaigelm/js/parsers/PatreonParser.js:28:70) at chrome-extension://akiljllkbielkidmammnifcnibaigelm/js/parsers/PatreonParser.js:17:28 at Array.map (<anonymous>) at PatreonParser.getChapterUrls (chrome-extension://akiljllkbielkidmammnifcnibaigelm/js/parsers/PatreonParser.js:17:14) at PatreonParser.onLoadFirstPage (chrome-extension://akiljllkbielkidmammnifcnibaigelm/js/Parser.js:452:39) at processInitialHtml (chrome-extension://akiljllkbielkidmammnifcnibaigelm/js/main.js:57:30) at async populateControlsWithDom (chrome-extension://akiljllkbielkidmammnifcnibaigelm/js/main.js:278:9)