Someone pastes a link, hits download, and waits. If the link is from a platform I do not support yet, that is the moment my site either earns a little trust or loses it. A spinner that never ends is the worst answer. A vague "something went wrong" is the second worst. So I made the unsupported-platform case a first-class feature of the downloader, not an afterthought.
The check happens before any API call is spent. When a link lands in the box on ramrom.io, the front end cleans it up first: stray spaces and line breaks are trimmed, short links like vt.tiktok.com and youtu.be are expanded to their full form, and tracking parameters such as ?si= are stripped. Then the hostname is pulled out and matched against a small allow-list — TikTok, Instagram, Facebook, YouTube. If it matches nothing on that list, the site stops right there. No request goes to a provider, no quota is burned, and the visitor gets an answer in about a second instead of a timeout.
What the visitor sees matters more than the code behind it. The message names the platform, in plain words: "This looks like a link from X, which I don't support yet." Then it lists the four platforms that do work, so the person can check whether they pasted the wrong link or simply wanted something I have not built. And it says what happens next — that the request is counted, so unsupported platforms with real demand move up the list. There is no fake progress bar, no "try again later" that means nothing, and no download button that leads nowhere.
I deliberately do not guess. It would be tempting to send an unknown link to a generic provider and hope it returns something, but a wrong guess produces the worst possible outcome: a file that is not what the person asked for, or an error page saved with a video filename. My resolve endpoint returns a proper 400 for an unsupported host, and the front end turns that into the plain message above. The status code matters because it keeps the failure honest all the way through the stack — the page, the logs, and any tooling watching the endpoint all agree it was a bad input, not a broken service.
There is one honest exception, and it has a name: Douyin. It sits on the site as "coming soon" because the only provider I found for it returns stream playlists, not downloadable files. Wiring that up would mean shipping a button that looks like it works and then fails. So it stays labelled, and the label says so. A placeholder that admits it is a placeholder is a promise I can keep; a fake feature is a lie with a nicer font.
The counting part is the bit I like most. Every unsupported-host rejection is logged as a count against the hostname — just the host, never the full link, never anything about the visitor. Over weeks that gives me a real priority list built from actual demand, not from guessing which platform is popular. If a platform I dismissed starts showing up fifty times a week, that is the next integration to research, and the decision writes itself.
The rule I keep coming back to is simple: never promise a download will work. Every tool page on the site carries that honest line, and the unsupported-platform message is where it does the most work. A visitor who pastes a link I cannot handle should leave knowing exactly why, knowing what I do handle, and knowing their paste helped decide what gets built next. That is a better outcome than a spinner — and it is a much better reason for them to come back.