Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: file_formats with document is txt not working #148

Open
ThanHuuTuan opened this issue Feb 22, 2024 · 0 comments
Open

[Bug]: file_formats with document is txt not working #148

ThanHuuTuan opened this issue Feb 22, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@ThanHuuTuan
Copy link

ThanHuuTuan commented Feb 22, 2024

telegram_media_downloader

v2.2.3
v2.2.0

What OS are you seeing the problem on?

Other Linux Distro

Python Version

No response

What happened?

I config document is txt but progam not working download, but with extension "all" it woked

my config v2.2.3

file_formats:
  document:
  - txt
file_path_prefix:
- chat_title
- media_datetime
media_types:
- document

my config v2.2.0

- chat_id: -1001988659xxx
  last_read_message_id: 0
  download_filter: file_extension == r'(txt)

Expected Behavior

document:

  • txt

Current Behavior

I config document is txt but progam not working download, but with extension "all" it woked

Possible Solution

NO

Steps to Reproduce

NO

Relevant log output

telegram_media_downloader_1  | Generating LALR tables
telegram_media_downloader_1  | [01:23:31] Telegram Media Downloader v2.2.3,                          meta.py:18
telegram_media_downloader_1  |            Copyright (C) 2023 tangyoha <https://github.com/tangyoha>            
telegram_media_downloader_1  |            Licensed under the terms of the MIT License                meta.py:21
telegram_media_downloader_1  |                                                                                 
telegram_media_downloader_1  | 2024-02-22 01:23:31.365 | INFO     | utils.meta:print_meta:22 - Device: CPython 3.11.2 - Telegram Media Downloader 2.2.3
telegram_media_downloader_1  | 2024-02-22 01:23:31.365 | INFO     | utils.meta:print_meta:23 - System: Linux 5.15.0-78-generic (EN)
telegram_media_downloader_1  |  * Serving Flask app 'module.web'
telegram_media_downloader_1  |  * Debug mode: off
telegram_media_downloader_1  | 2024-02-22 01:23:32.947 | SUCCESS  | __main__:main:625 - Successfully started (Press Ctrl+C to stop)
2024-02-22 08:51:21.770 | INFO     | utils.meta:print_meta:22 - Device: CPython 3.11.2 - Telegram Media Downloader 2.2.0
2024-02-22 08:51:21.770 | INFO     | utils.meta:print_meta:23 - System: Linux 5.15.0-78-generic (EN)
 * Serving Flask app 'module.web'
 * Debug mode: off
2024-02-22 08:51:23.776 | SUCCESS  | __main__:main:595 - Successfully started (Press Ctrl+C to stop)
@ThanHuuTuan ThanHuuTuan added the bug Something isn't working label Feb 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant