Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WinError 123 when downloading from kemonoparty #5776

Closed
Iamg1004 opened this issue Jun 22, 2024 · 5 comments
Closed

WinError 123 when downloading from kemonoparty #5776

Iamg1004 opened this issue Jun 22, 2024 · 5 comments

Comments

@Iamg1004
Copy link

Iamg1004 commented Jun 22, 2024

'Sup guys
I'm trying to download entire kemono artists' archives, but I'm getting this error with a specific post, why could that be?
Here's my kemono config:

    "kemonoparty":
    {
            "metadata": true,
            "directory": ["{category}", "{service}", "{username} {user}", "{date:%Y-%m-%d} {id} {title}"],
            "filename": "{filename}.{extension}",

            "postprocessors": [{
                "name": "metadata",
                "event": "post",
                "filename": "content.txt",
                "format": "{content}\n"
            }]
	},

(Btw, it's downloading to the D: drive, it's specified in the base-directory part of the config)

Here's the error:
C:\Users\ignac>gallery-dl "https://kemono.su/patreon/user/19687329/post/102650101" [kemonoparty][error] Unable to download data: OSError: [WinError 123] The filename, directory name, or volume label syntax is incorrect: '\\\\?\\D:\\gallery-dl\\kemonoparty\\patreon\\Girl_In_Dungarees 19687329\\2024-06-18 102650101 [F4TF] Kiss away my pain [GFE] [Reverse Comfort] pretend [Virgin] speaker with vague mentions of bad first time [Loving] lots of [Kissing] [L-Bombs] [Caring] [Fingering] [Cunnilingus] [Girlcock] [Handjob] [Grinding] [Nipple Sucking] [Penetrative] sex [Multiple Speaker Orgasms]\\' (Not what I'm trying to download per-se, but it's stopping the entire archive from downloading).

And here's the link: https://kemono.su/patreon/user/19687329/post/102650101

And yes, it's with that specific post, as the one before it downloads no problem, and so have another artists' archives before.

Any help would be welcome!

@Iamg1004 Iamg1004 changed the title WinError 123 when downloading forom kemonoparty WinError 123 when downloading from kemonoparty Jun 22, 2024
@mikf
Copy link
Owner

mikf commented Jun 22, 2024

This post's title alone is longer than 255 characters and {date:%Y-%m-%d} {id} {title} exceeds this limit even more. Restrict the length with {title[:200]} or similar.

@Iamg1004
Copy link
Author

Iamg1004 commented Jun 22, 2024

Is there any way to exceed the 255~260 limit on windows? I even have the long path registry enabled, but it doesn't seem like it worked.

@Twi-Hard
Copy link

The long path option lets you have full paths longer than 255 characters. I'm pretty sure it's enabled by default in Windows 10 and 11. A single file or folder name can't be longer than that though. It's a limitation of the filesystem and there's no way around it.

@Iamg1004
Copy link
Author

Ahhh, gotcha. Thanks y'all!

@a84r7a3rga76fg
Copy link

You're already saving the metadata, seems redundant to have {title}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants