Improved favicon detection for metadata_icon

Improved `metadata_icon` to check common favicon link variants more reliably.

Changelog 1 min read

Written by

Dmytro Krasun

Published on

We fixed an issue where fallback favicon selectors were not tried if link[rel="icon"] was missing.

Now, when metadata_icon=true, ScreenshotOne checks these selectors in order:

  • link[rel="icon"]
  • link[rel="shortcut icon"]
  • link[rel="icon shortcut"]

This improves favicon extraction reliability for websites that use different rel conventions.

Use it as usual:

https://api.screenshotone.com/take?metadata_icon=true&url=https://example.com/&access_key=<access key>

If you have any questions or feedback, please let us know at support@screenshotone.com.

Read more product updates

New features, bug fixes, and optimizations...

View all product updates
An improved screenshot history page

An improved screenshot history page

Daily, I work as hard as I can to ensure that ScreeenshotOne is the best screenshot API out there possible. But I rarely share updates but trust me, a ton of them might go unnoticed. Let's fix this situation.

Read more

1 min read

Set PDF margins

Set PDF margins

Now you can set PDF margins for the resulting PDF file.

Read more

1 min read

Improved webhooks documentation and playground

Improved webhooks documentation and playground

We improved the webhooks documentation and playground.

Read more

1 min read

Automate website screenshots

Exhaustive documentation, ready SDKs, no-code tools, and other automation to help you render website screenshots and outsource all the boring work related to that to us.