DL-Telegram-by-file-attachment icon indicating copy to clipboard operation
DL-Telegram-by-file-attachment copied to clipboard

Error in some channels

Open funnay opened this issue 3 years ago • 0 comments

When downloading on some channels, some files are downloaded but then this error shows up and it stops. Further attempts always the same.

Traceback (most recent call last): File "C:\tools\winpython\WPy32-3920\tools\DL-Telegram-by-file-attachment\downloader.py", line 44, in if 'document' in message['media'] and re.search(term, message['media']['document']['attributes'][0]['file_name'], re.IGNORECASE): KeyError: 'file_name'

funnay avatar Mar 30 '21 18:03 funnay