denno020 / linkslist

Simply create a list of links. Then share it! Create an eBay wish list, share an Etsy shopping list, or just create links from raw strings
GNU General Public License v3.0
31 stars 12 forks source link

Notion links do not work #26

Closed Gatienzo closed 2 years ago

Gatienzo commented 2 years ago

https://forcingfunction.notion.site/Forcing-Function-Performance-Library-8b594e8ee24e41048b1564a14f403039 gets converted to notion.so

Also some previews fail e.g. https://www.mayoclinic.org/es-es/diseases-conditions/schizotypal-personality-disorder/symptoms-causes/syc-20353919

denno020 commented 2 years ago

Hey @Gatienzo,

Thanks for reporting! The way the link scraping works is rather basic, it sends a HTTP request to the website and scrapes the meta data (data that is read by Google/Facebook etc when indexing/sharing). In this instance, I believe the Notion page is built client side, which means when Links List makes the request server side, the JavaScript that is needed to populate the page doesn't get run, so we only get the most basic of information back. This is going to be an issue for all Single Page Apps that are rendered exclusively client side.

This is a limitation that I'm aware of, and I'm currently looking into more premium ways of previewing websites, so that we can actually scrap meta data from these client-side only websites

Gatienzo commented 2 years ago

ok thanks for the explanation