Commit Graph

3 Commits (af396fa35f589e1f759c7a3a0dad7932f1862309)

Author SHA1 Message Date
Eugen Rochko b58db8f12e
Add workaround for YouTube Shorts links ()
* Add workaround for YouTube Shorts links

* Update link_details_extractor_spec.rb
Eugen Rochko f1f6ddd536
Fix structured data parsing from links choking on bad data ()
* Fix structured data parsing from links choking on bad data

- Fix og:url meta tag being prioritized over canonical link tag
- Fix structured data parsing choking on commented-out CDATA declarations
- Fix HTML entities in title, description, provider_name, author_name
- Change structured data parsing to attempt every JSON-LD script tag

* Remove unnecessary slash escapes from CDATA regex pattern
Eugen Rochko 39cdf61ab7
Add support for structured data and more OpenGraph tags to link cards ()
Save preview cards under their canonical URL

Increase max redirects to follow from 2 to 3