iyear / tdl

📥 A Telegram toolkit written in Golang
https://docs.iyear.me/tdl
GNU Affero General Public License v3.0
4.46k stars 442 forks source link

[Feat] Manual naming for downloaded files #699

Closed liponex closed 2 months ago

liponex commented 3 months ago

Proposal

When downloading using the -u url key list, it would be nice to specify the filename as well. This can be done as a new key, such as -u url --filename "filename" or without -u url "filename".

Background

When I manually download the necessary files, I have to manually rename each file after downloading. Templates do not solve this problem.

Workarounds

No😥

iyear commented 2 months ago

https://docs.iyear.me/tdl/guide/download/#name-template