Comments (2)
Hello, I would need to see your configuration with removed personal data and screenshot from Telegram.
Didn't see this issue before. Did you send the link from your user to Bot directly or from some group?
from yt-dlp-bot.
sorry for late reply
win11/docker desktop v4.29.0
re-build again for 32e9b92
in yt_bot log:
2024-04-10 14:32:23 2024-04-10 06:32:23,670 - [ERROR] - [pyrogram.dispatcher:342] - 6053554717
2024-04-10 14:32:23 Traceback (most recent call last):
2024-04-10 14:32:23 File "/usr/local/lib/python3.12/site-packages/pyrogram/dispatcher.py", line 329, in handler_worker
2024-04-10 14:32:23 await handler.callback(self.client, *args)
2024-04-10 14:32:23 File "/usr/local/lib/python3.12/site-packages/pyrogram/handlers/message_handler.py", line 151, in resolve_future_or_callback
2024-04-10 14:32:23 await self.original_callback(client, message, *args)
2024-04-10 14:32:23 File "/app/bot/core/callbacks.py", line 38, in on_message
2024-04-10 14:32:23 user = client.allowed_users[get_user_id(message)]
2024-04-10 14:32:23 ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
2024-04-10 14:32:23 KeyError: 6053554717
2024-04-10 14:32:26 2024-04-10 06:32:26,602 - [INFO] - [VideoUploadTask:140] - Uploading "Introducing iPhone 15 | WOW | Apple.mp4" [10.1MiB] [cached: False] to chat id "1277514877"
2024-04-10 14:32:32 2024-04-10 06:32:32,962 - [INFO] - [VideoUploadTask:298] - Saving telegram file cache
2024-04-10 14:32:32 2024-04-10 06:32:32,963 - [INFO] - [VideoUploadTask:140] - Uploading "Introducing iPhone 15 | WOW | Apple.mp4" [10.1MiB] [cached: True] to chat id "-1001392905200"
2024-04-10 14:32:33 2024-04-10 06:32:33,753 - [INFO] - [SuccessDownloadHandler:112] - Cleaning up task "4f54ce66-d439-41c9-ad97-ad6073b72fa6": removing download content directory "/tmp/download_tmpfs/downloaded/oxro" with files {'Introducing iPhone 15 | WOW | Apple.jpg': '35.7KiB', 'Introducing iPhone 15 | WOW | Apple.mp4': '10.1MiB'}
Config.yml (pretty sure i use the latest example file to modify such IDs and tokens the issue still there
*removed the personal data
telegram:
api_id: API_ID
api_hash: "API_HASH"
token: "BOT_TOKEN"
lang_code: !!str "en"
max_upload_tasks: 2
url_validation_regexes:
- "^http(s)?:\\/\\/.+$"
allowed_users:
- id: USER_ID
is_admin: !!bool True
send_startup_message: !!bool True
download_media_type: "VIDEO"
save_to_storage: !!bool False
use_url_regex_match: !!bool True
upload:
upload_video_file: !!bool True
upload_video_max_file_size: 2147483648
forward_to_group: !!bool True
forward_group_id: GROUP_ID
silent: !!bool False
video_caption:
include_title: !!bool True
include_filename: !!bool False
include_link: !!bool True
include_size: !!bool True
api:
upload_video_file: !!bool False
upload_video_max_file_size: 2147483648
upload_to_chat_ids:
- 00000000000
- -00000000000
silent: !!bool False
video_caption:
include_title: !!bool True
include_filename: !!bool False
include_link: !!bool True
include_size: !!bool True
ytdlp:
version_check_enabled: !!bool True
version_check_interval: 86400
notify_users_on_new_version: !!bool True
from yt-dlp-bot.
Related Issues (20)
- could add "image" option to the "download_media_type" parameter?
- Another bot in same server
- [TIKTOK] Requested format is not available. Use --list-formats for a list of available formats
- Is it possbile to use without docker ? HOT 1
- Build base image error HOT 2
- Sanitize Title
- How to rebuild? HOT 2
- Why is there no build context for base-image? HOT 2
- How to start bot HOT 1
- can't running the bot HOT 2
- how to run only api without bot HOT 4
- Error building docker image HOT 1
- Why pyrogram? HOT 2
- Waiting to be reachable HOT 2
- yt-dlp is only downloading the first video from the playlist HOT 1
- How to add %(upload_date)s %(channel)s to the video description? HOT 1
- Unable to Fetch
- ERROR: No matching distribution found for tgcrypto-pyrofork
- Worker container does not use user.py HOT 1
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 yt-dlp-bot.