# Unfurl 2025.03

> Unfurl v2025.03 adds new features, including parsing Google Search's UDM parameter, support for Mastodon forks (like Truth Social), and a utility parser to "clean up" inputs.

- Author: Ryan Benson
- Published: 2025-03-13
- Tags: Unfurl
- Canonical URL: https://hindsig.ht/blog/unfurl-parses-google-udm-and-truth-social/

A new Unfurl release is here! v2025.03 adds new features and some fixes, including:

-   Parsing Google Search's UDM parameter
-   Recognizing Mastodon usernames and parsing Mastodon forks (like truthsocial\[.\]com and gab\[.\]com)
-   Utility parser to "clean up" inputs

[Get the new version now](#get-it), or read on for more details about the new features!

## Google Search UDM Parameter

I was first made aware of the UDM query string parameter in Google Search when lots of people starting posting about the "udm=14 hack" to turn off AI-generated content in Search results. What this parameter seems to do is control the results page type, and **udm=14** sets the results page to "Web".

When you click on different results types in a Google Search results page, you can observed the `udm` value changing as well. In the screenshot below, I selected "Images" and the `udm` value changed to `2`.

<figure>
<img src="https://hindsig.ht/content/images/2025/03/unfurl-google-udm-1.png" alt="Google Search "Images" Results Page with UDM=2">
<figcaption>Google Search "Images" Results Page with UDM=2</figcaption>
</figure>

I manually incremented the `udm` value in the URL and observed the what type of results page was served. `udm` of `51` was the highest value I found; setting it to `56` and above results in a redirect back to the search results page with the `udm` parameter stripped off (at least until 65, then I stopped testing). The results are in the table below:

| UDM Value | Google Search Results Page Type |
| --- | --- |
| 1 | All |
| 2 | Images |
| 3 | Products |
| 6 | Learn |
| 7 | Videos |
| 8 | Jobs |
| 12 | News |
| 14 | Web |
| 15 | Things to do |
| 18 | Forums |
| 28 | Shopping |
| 36 | Books |
| 37 | Products |
| 38 | Videos |
| 44 | Visual matches |
| 47 | Web (+"Refine Results" panel) |
| 48 | Exact matches |
| 51 | Homework |

## Mastodon Parsing Improvements

There's a few minor enhancements to the Mastodon parser in this release. Unfurl now recognizes the username section of a post URL, and splits it into local username and account domain, if applicable.

![](https://hindsig.ht/content/images/2025/03/unfurl-mastodon-long-username.png)

I've also added `truthsocial.com` and `gab.com` to the Mastodon parser. Even though they aren't part of the Fediverse (like most other Mastodon servers are), since they're based on Mastodon's code, Unfurl can parse them just the same.

![](https://hindsig.ht/content/images/2025/03/unfurl-truth-social.png)

## Input "Clean Up" Actions

I'm always on the lookout for ways to make Unfurl more helpful and usable. Some of the most common issues I've seen when people use Unfurl is improperly formatted inputs, like enclosing the input URL or string in quotes or including leading/trailing spaces. If this happens, Unfurl can't properly parse the inputs (as it doesn't _know_ that those are errors), and so gives an unsatisfying result to the user.

I've added a few "clean up" actions to fix these common issues. Since I, like Unfurl, can't be truly sure that these extra characters are unintentional, I wanted to make these modifications visible to the user (both for transparency and to stick with Unfurl's "show your work" philosophy).

<figure>
<img src="https://hindsig.ht/content/images/2025/03/unfurl-quote-cleanup.png" alt="Unfurl "Clean Up" parser removing quotes">
<figcaption>Unfurl "Clean Up" parser removing quotes</figcaption>
</figure>

If you use Unfurl and have any other "annoyances" or quality-of-life type issues, please let me know! I'd love to make Unfurl easy and enjoyable to use for everyone.

## Get it!

Those are the major items in this Unfurl release. There are more changes that didn't make it into the blog post; check out the [release notes](https://github.com/obsidianforensics/unfurl/releases/tag/v2025.03) for more. To get Unfurl with these latest updates, you can:

-   use it online at [hindsig.ht/unfurl/](https://hindsig.ht/unfurl/) or [unfurl.link](https://unfurl.link)
-   if using pip, `pip install dfir-unfurl -U` will upgrade your local Unfurl to the latest
-   View the release on [GitHub](https://github.com/obsidianforensics/unfurl/releases/tag/v2025.03)

All features work in both the web UI and command line versions.
