Improved favicon detection for metadata_icon

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

Changelog1 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
Added a URL to PDF Tool

Added a URL to PDF Tool

A new free ScreenshotOne tool to convert any public webpage URL into PDF.

Read more

1 min read

Improved clip and full page validation

Improved clip and full page validation

ScreenshotOne now rejects requests that combine clipping options with full page screenshots before rendering starts.

Read more

1 min read

Better validation error messages

Better validation error messages

ScreenshotOne now returns better validation error messages and no longer exposes unnecessary validation details.

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.