Closed khaosdoctor closed 6 months ago
Let me do some testing here, I definitely had some reported edge cases which pushed me in the other scraping direction but with the version changes that have happened to electron it's possible the situation has improved and we can streamline this.
Thanks!
Though, the workaround people have been using with ObsidianCustomFrames for sites that require login don't work with this method as far as I can tell from a quick test. We'll have to look to see if there's a workaround with this method or if I'll need to supply an option to use the other method.
Though, the workaround people have been using with ObsidianCustomFrames for sites that require login don't work with this method as far as I can tell from a quick test. We'll have to look to see if there's a workaround with this method or if I'll need to supply an option to use the other method.
That's true, I haven't tested any sites with a log-in included, one thing that we can do is to scrape for OpenGraph tags like og:title
or twitter:title
like I do in this package which is, at least as far as I know, correct in most websites, including the ones that need a log in since these tags are usually filled with the content title by SEO and other content providers, so we could start by trying to get OG tags and falling back to title
and no-title
.
Also after #90 which is a real bug, I saw #87 and #88 and decided to take another look and did some general improvements:
var