Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Error in some channels #7

Open
funnay opened this issue Mar 30, 2021 · 0 comments
Open

Error in some channels #7

funnay opened this issue Mar 30, 2021 · 0 comments

Comments

@funnay
Copy link

funnay commented Mar 30, 2021

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'

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

No branches or pull requests

1 participant