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

下载图片允许指定目录 #8

Open
zzxwill opened this issue Mar 10, 2024 · 1 comment
Open

下载图片允许指定目录 #8

zzxwill opened this issue Mar 10, 2024 · 1 comment

Comments

@zzxwill
Copy link

zzxwill commented Mar 10, 2024

我需要连续下载多篇文章,并且,把所有的照片都放在一个位置,如下图所以,我把所有的图片放在了 resources./img 下面。你看这个需求合理吗?我已经写完了,如果你觉得合理,我可以贡献出啦。

├── 2023
│   ├── 2023,让我无法抗拒的_10_款产品.md
│   ├── 为什么不要在支付宝上买保险?.md
│   ├── 人到八十九十,一辈子最后悔的事情是什么?.md
│   ├── 如何快速靠谱地买到辉瑞新冠特效药.md
│   ├── 我的_2022_个人总结.md
│   ├── 我的_2023_个人总结.md
│   ├── 新加坡周日早上见闻:有的人_30_岁死了,有的人_30_岁在创新.md
│   ├── 新加坡,那些在深夜和清晨无处安放的身体.md
│   └── 累了,就走到窗边,看看大海。.md
├── 2024
│   ├── (内含福利)_农历新年快乐|2024_新年目标修订.md
│   ├── 111.1_枚价值_200_美金的_STRK_币已入账,免费送领取教程+提现教程.md
│   └── OpenAI_Sora_还没开放使用,等不及了?那试试文本转视频的老大哥_Latte_吧.md
├── DEPLOY.md
└── resources
    └── img
        ├── 00021a26fea8a3e4f8377320c58409b9.jpeg
        ├── 0075da80aeece4def20e27eb34a3307b.png
        ├── 00a6602cd17abdf187750c4c9b80dffa.jpeg
        ├── 00cb58b50c229c033eede822a075164b.png
        ├── 00d9c2350aed8b41ced8115972c8a88c.png
        ├── 00fd2bf6489d341c5f5d2783feb7dec1.png
        ├── 01596fcfc023eed3a861c4b9c3fb94ee.png
        ├── 017397ea019c46db14316faeb9400182.jpeg
@fengxxc
Copy link
Owner

fengxxc commented Mar 11, 2024

合理,欢迎贡献,以下优化建议您可以参考的:

  • 满足开闭原则,不破坏现有配置参数,新增配置项是非必须项
  • 图片输出目录可配置(有默认值)
  • --image不为save时的校验与提示
    再次感谢(^人^)

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

No branches or pull requests

2 participants