althonos / althonos/InstaLooter

Special characters " || " in fullname tag prevents files being created

未关闭
#115 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
Python
星标
2.1k
派生
257
PR 合并指标
30 天内没有已合并 PR

描述

Bonjour althonos, c'est encore moi !

I'm coming back about a bug I encountered recently. I use a specific template for filenames when using instaLooter, which is the following:

{datetime}_{code}_user[{username}]_name[{fullname}]

However, I recently stumbled upon an instagram account that I just couldn't download as every file was creating bugs. After review, I found out that the person has added the characters " || " in the {fullname} part of the filename, and since it is an invalid character for filenames on windows, instaLooter just can't create it.

I don't really want to change my filename template since I've used it for so many other accounts already.

The easiest workaround would simply be to modify or erase these " || " characters automatically when instaLooter encounters them. But maybe you have a better solution in mind?

Anyway, thank you in advance and I hope we can fix this asap! 📦

#JM

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。