Comments (8)
是的,文件将被覆盖。
只有具有相同名称的最新文件将存在,而具有相同名称的旧文件将被删除。这样就不会有重复的文件。
But this can’t work, because the name is the same, but it doesn’t mean the content is the same. This can only be verified by md 5.Hope to fix this feature
from telegram_media_downloader.
Issue-Label Bot is automatically applying the label bug
to this issue, with a confidence of 0.94. Please mark this comment with 👍 or 👎 to give our bot feedback!
Links: app homepage, dashboard and code for this bot.
from telegram_media_downloader.
Did you include all the media_types
as well as file_formats
in your config.yaml
from telegram_media_downloader.
Excuse me, the author, the file with the same name, do you adopt the method of overwriting and downloading?
from telegram_media_downloader.
Did your config.yaml
looked similar to below
api_hash: your_api_hash
api_id: your_api_id
chat_id: telegram_chat_id
last_read_message_id: 0 <-- 0 when you started the script
media_types:
- audio
- photo
- video
- document
- voice
file_formats:
audio:
- all
document:
- all
video:
- all
Whether all media types - audio, photo, video, document, voice
are present?
from telegram_media_downloader.
是的,我只修改了API ID和组ID。因为我认为有些文件具有重复的名称,但是下载的文件只有一个,所以我想问一问,对于具有相同名称的文件,您是否采用覆盖战略?
您的
config.yaml
外观是否与下面相似api_hash: your_api_hash api_id: your_api_id chat_id: telegram_chat_id last_read_message_id: 0 <-- 0 when you started the script media_types: - audio - photo - video - document - voice file_formats: audio: - all document: - all video: - all
是否存在所有媒体类型
audio, photo, video, document, voice
?
Yes, I only modified the API ID and group ID.Because I think there are some files with duplicate names, but there is only one downloaded file, so I would like to ask, for files with the same name, do you adopt an overwriting strategy?
from telegram_media_downloader.
Yes, the files will be overwritten.
Only latest file with the same name will exists old files with the same name will be removed. Thus there will be no duplicate files.
from telegram_media_downloader.
The above discussed file management strategy is implemented. Reset the last_read_message_id
to 0 in your config.yaml and re-run the script.
from telegram_media_downloader.
Related Issues (20)
- Telegram says: [400 PEER_ID_INVALID] - Trying to download specific user's posts HOT 1
- got an unexpected keyword argument 'reverse' HOT 5
- Error with downloading specified file type - rar HOT 1
- 0Mb downloaded files HOT 4
- This gets detected HOT 3
- error in tgcrypto HOT 2
- Bug with requirements HOT 1
- [401 AUTH_KEY_UNREGISTERED] - The key is not registered in the system HOT 1
- SSL: CERTIFICATE_VERIFY_FAILED HOT 1
- Integer too big HOT 1
- Download files within a group-channel only HOT 1
- The msg_id belongs to over 30 seconds in the future. Most likely the client time has to be synchronized.
- What should I do if I use a direct account suspension once
- Saved Messages as source? HOT 1
- Error during compiling HOT 1
- add progress bar in download file
- Script stopped working HOT 3
- downloader is not working on ubuntu 23.10 ( python3.11.6 ) HOT 1
- The msg_id is too low, the client time has to be synchronized. HOT 1
- File name with attribute ":" can't be named at Windows, getting error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from telegram_media_downloader.