Why "no file extension" is a thing on Bunkr but not on Gofile? #932
|
I vaguely remember asking multiple times why CDL insists that every file needs to have an extension. IIRC the answer has been that we rely on extension for doing some pre-processing. This was mostly in the context of Bunkr links such as these. These files legitimately have no extension, which is indeed unfortunate. But I understand that CDL requires extensions, and I assumed that's true for every filehost. So, today I was surprised when I encountered more files with no extensions. But this time it was on Gofile—and apparently CDL has no problem downloading them. Here's a full folder of such files: How comes this limitation only applies to Bunkr but no other filehosts? Is it because Gofile is smart and returns MIME type for the file while Bunkr is not? If yes, is this something we could try to solve with the new ffmpeg integration? E.g., if file has no extension, try to probe it with ffmpeg just in case it's some know video type, and assign an extension based on that? |
Replies: 1 comment 4 replies
|
I tried a file form the GoFile link and still got a You can force CDL to download files even if they have no extension: |

Found the bug. It's because bunkr uses custom filenames. We can fix it but i think we will have to drop the UUIDs from the database.