microlinkhq / open

4 stars 2 forks source link

Metascraper not fetching description from OG tags #37

Closed oyeanuj closed 3 years ago

oyeanuj commented 4 years ago

Prerequisites

Subject of the issue

For this given url, Metascraper does not seem to be fetching the description from the OG tags: https://thewritelaunch.com/2020/07/criminal-water/

Describe your issue here.

Steps to reproduce

https://api.microlink.io/?url=https://thewritelaunch.com/2020/07/criminal-water/

Expected behaviour

It should pick up the OG description tag.

Actual behaviour

The description seems to be a random div tag:

<div class="x-text-content"><div class="x-text-content-text"><h1 class="x-text-content-text-primary">Sign up for The Write Launch newsletter</h1></div></div></div>
Kikobeats commented 3 years ago

Thanks for reporting @oyeanuj!

It should be fixed and work as expected

https://api.microlink.io/?url=https://thewritelaunch.com/2020/07/criminal-water/

🙂

oyeanuj commented 3 years ago

@Kikobeats Thanks for the quick response (and apologies that this was in the wrong repo!)

It still seems to be not working correctly but I imagine that is a cached response, so I'll try again tomorrow!