Comments (7)
I think an audio file is a downloaded like any other file. Or do you mean voice messages?
from telegram-downloader-bot.
I think an audio file is a downloaded like any other file. Or do you mean voice messages?
Yeah, it could be voice messages, i don't know what's the difference, but they're not downloading.
from telegram-downloader-bot.
Have you tested the new version I updated today?
from telegram-downloader-bot.
Have you tested the new version I updated today?
It is working great, thanks ;)
from telegram-downloader-bot.
Well, downloading voice messages works fine, but: when i forward this kinds of files to the bot it does nothing and displays this code in the console window:
user@linux:~/.telegrambots$ python telegram-download-bot.py {'message': {'delete_chat_photo': False, 'new_chat_photo': [], 'from': {'username': u'samthelion', 'first_name': u'Samuel', 'last_name': u'Wilson', 'is_bot': False, 'language_code': u'es', 'id': CHATID}, 'photo': [], 'channel_chat_created': False, 'caption_entities': [], 'entities': [], 'new_chat_members': [], 'supergroup_chat_created': False, 'chat': {'username': u'samthelion', 'first_name': u'Samuel', 'last_name': u'Wilson', 'type': u'private', 'id': CHATID}, 'date': 1583431530, 'group_chat_created': False, 'audio': {'performer': u'Woe, Is Me', 'thumb': {'width': 90, 'file_size': 3825, 'file_id': 'AAMCBAADGQEAA41eYT9qTtQ_2LCBLjTGR-MJCHtlPgACjgcAAll1AAFTnTkpCMvhEd7cQeMhXQADAQAHcwADInwAAhgE', 'height': 90}, 'title': u"Hot 'N Cold", 'file_id': 'CQACAgQAAxkBAAONXmE_ak7UP9iwgS40xkfjCQh7ZT4AAo4HAAJZdQABU505KQjL4RHeGAQ', 'file_size': 7849801, 'duration': 187, 'mime_type': u'audio/mpeg'}, 'message_id': 141}, 'update_id': 816774170}
And the same thing happens with rounded videos...
from telegram-downloader-bot.
I made a quick test with a mp3 file and released a new version. Please test it.
Open a new issue for those 'round videos'
(Right now I do not know what are them) to avoid longs issues with unrelated fixes.
from telegram-downloader-bot.
It is working now, thanks.
from telegram-downloader-bot.
Related Issues (20)
- Too big file error HOT 1
- file size limit HOT 1
- Feature Request: add time scheduling option HOT 2
- Files to Big HOT 1
- Feature Request: allow download big files HOT 4
- Create Github action to publish the docker HOT 10
- file too big issue HOT 2
- Python 3 support HOT 2
- Datetime object has no attribute 'timezone' HOT 2
- No default language could be detect. HOT 2
- Emoji in files crash downloading HOT 5
- [Question]RPCError HOT 3
- runtimeError: freeze_support HOT 2
- telegram.error.BadRequest: File is too big HOT 1
- How to download photo HOT 5
- Error running HOT 5
- file is too big error HOT 4
- Add multi-user support HOT 2
- Option to download videos HOT 2
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-downloader-bot.