Bionus / imgbrd-grabber

Very customizable imageboard/booru downloader with powerful filenaming features.
https://www.bionus.org/imgbrd-grabber/
Apache License 2.0
2.58k stars 220 forks source link

Invalid file extension (mp4 to ) #3202

Closed ProtagNeptune closed 5 months ago

ProtagNeptune commented 5 months ago

Update 19dcd19

[02:23:08.547][Info] Loading image details from https://danbooru.donmai.us/posts/6951211
[02:23:08.847][Info] Loading and saving image from https://cdn.donmai.us/original/3b/85/__hoshino_ruby_oshi_no_ko_drawn_by_delalicious3_voice_actor_and_shiina_ecchi__3b85d1b224e33116992e3317e7a10291.mp4 in [C:\Users\jelly\Grabber\#Downloads\vid\3b85d1b224e33116992e3317e7a10291.mp4](file:///C:/Users/jelly/Grabber/#Downloads\vid\3b85d1b224e33116992e3317e7a10291.mp4)
[02:23:09.406][Info] Invalid file extension (mp4 to ) for [C:\Users\jelly\Grabber\#Downloads\vid\3b85d1b224e33116992e3317e7a10291.mp4](file:///C:/Users/jelly/Grabber/#Downloads\vid\3b85d1b224e33116992e3317e7a10291.mp4)

The file end-up named 3b85d1b224e33116992e3317e7a10291 with no extension at all.

Originally posted by @ProtagNeptune in https://github.com/Bionus/imgbrd-grabber/issues/3186#issuecomment-2156925878

ProtagNeptune commented 5 months ago

Is it supposed to be Invalid file extension (mp4 to mov)? 🤔

Nevermind... 😅

ProtagNeptune commented 5 months ago

I'm using a del.bat with the following code until this issue is resolved.

@echo off
cd /d "C:\Users\jelly\Grabber"
for /r %%i in (*) do (
    if "%%~xi"=="" (
        echo Delete file with no extension: "%%i"
        del "%%i"
    )
)
:: --------------------
pause
exit