parser
parser copied to clipboard
img src does not use image url, causing no image being displayed (This is also seen in mercury reader)
- Mercury Parser Version: 2.2.0
- Node Version (if a Node bug): 12.18.1
- Browser Version (if a browser bug): Chrome 86.0.4240.75
Expected Behavior
When parsing or using mercury reader to read https://li.substack.com/p/unbundling-work-from-employment, the src field of the tags should contain the URL for the images to be displayed.
Current Behavior
The src field of the parsed tags are filled with a JSON object, specifically the data-attrs field of the
tag from the site's HTML, rather than the src field.
Steps to Reproduce
- Go to https://li.substack.com/p/unbundling-work-from-employment
- Run mercury parser (return as HTML) or mercury reader
- Find src field of
tags of the parsed HTML
Any updates on this? I'm running into this exact issue right now :(
Fixed by #696