Closed SilverBull closed 1 day ago
Maybe problem from youtube search feauture. I blocked that feauture https://github.com/tgbot-collection/ytdlbot/blob/07632b1e68c2236ed53242efdf946692b6fe5075/ytdlbot/ytdl_bot.py#L532
So what would be the correct workflow? The bot is up and running, privately I send /start and then a youtube link and the bot responds with the video. Then I added the bot to the group, also re-sent /start from the group, then tried sending the link, sending /direct and now sending /ytdlp before the link and the bot just doesn't respond. Should be added as admin?
Hello @SilverBull ,
Thank you for bringing this issue to our attention. As I haven't personally used this bot in a group, I was unaware of this bugs existence until now.
Give us some time. @BennyThink and I will look into this and provide an update as soon as we have more information or a possible solution.
Thank you again for taking the time to report this issue. Your feedback helps us improve this project.
PR has been submitted with the fix. @BennyThink will merge it after review.
I'm using docker so I'll wait, but in the meantime I tried hot swapping the file inside the container with your patch. Can you clarify to me how it is supposed to work? You just start the bot and send the link? Because I tried both normal and /direct and I get an error
I'm using docker so I'll wait, but in the meantime I tried hot swapping the file inside the container with your patch. Can you clarify to me how it is supposed to work? You just start the bot and send the link? Because I tried both normal and /direct and I get an error
Wait till docker image updated. I have pushed a another commit. Now the /spdl
, /leech
, and /direct
command can also be used in groups.
You just need to add bot to the group. Check the bot by /start
, after it responded,
/ytdl {URL}
/direct {URL}
and you can use -n {new_name}
also/leech {URL}
/spdl {URL}
I missed the update, just tried it, works now. Now I have just to figure how I can automatically download yt without the command beforehand
I missed the update, just tried it, works now. Now I have just to figure how I can automatically download yt without the command beforehand
When using the bot's dedicated window, you only need to send a link, as the bot automatically recognizes the message as intended for it. However, when using the bot within a group chat, adding the command before the link is necessary to ensure the bot identifies that the message is meant for it. This is how the bot distinguishes between general chat messages and specific commands for it to execute.
If the issue has been resolved to your satisfaction and you have no further questions or concerns, we kindly request that you close the issue. Please don't hesitate to reach out if you need any assistance in the future.
Thank you.
adding the command before the link is necessary to ensure the bot identifies that the message is meant for it. This is how the bot distinguishes between general chat messages and specific commands for it to execute.
Yeah I know, but I would like to abilitate the bot to parse every link send in this particular group and match only Youtube and TikTok links and download it. But this is a separate issue and eventualy I will do a PR
If the issue has been resolved to your satisfaction and you have no further questions or concerns, we kindly request that you close the issue. Please don't hesitate to reach out if you need any assistance in the future.
Thank you.
Yes thank you and BennyThink
It should work with the command: /ytdl in a group
Originally posted by @vuisme in https://github.com/tgbot-collection/ytdlbot/issues/323#issuecomment-2324102353
The /ytdl command returns a list of youtube videos and does nothing when a link is sent.
Is there something I need to configure first?