tropicoo / yt-dlp-bot

Self-hosted Video Download Telegram Bot 🇺🇦
BSD 3-Clause "New" or "Revised" License
212 stars 71 forks source link

Feature: Filename specification #174

Open soyelmismo opened 1 year ago

soyelmismo commented 1 year ago

There's different m3u8 files that will be saved with the same name as "index-1" and this doesn't let me use concurrent downloads cuz the files got replaced... so should be great an argument specification for the Filename to avoid this, like "file1.mp4 " (the extension maybe it's better to be resolved automatically)

tropicoo commented 1 year ago

Please install yt-dlp and try with different download options. If you find which are suitable for you, you can add them to the user config.

armm29393 commented 6 months ago

+1 I want to set specific filename in create task payload

tropicoo commented 5 months ago

@soyelmismo @armm29393 Added possibility to set custom filename during video download and saving to storage with same filename won't overwrite existing anymore.

{
    "url": "<VIDEO_URL>",
    "download_media_type": "VIDEO",
    "save_to_storage": true,
    "custom_filename": "cool.mp4",
    "automatic_extension": false
}