auch für die YT-Suche gibts ne neue Ausgabe
This commit is contained in:
parent
37580de23b
commit
30ba1e886e
@ -132,7 +132,7 @@ function send_youtube_data(data, msg, self, link, sendpic)
|
||||
if sendpic then
|
||||
local image_url = get_yt_thumbnail(data)
|
||||
-- need to change text, because Telegram captions can only be 200 characters long and don't support Markdown
|
||||
local text = link..'\n'..title..'\n('..uploader..' am '..upload_date..', '..viewCount..'x angesehen, Länge: '..duration..')'
|
||||
local text = link..'\n'..title..'\n🎥 '..uploader..', 📅 '..upload_date..'\n👁 '..viewCount..' | 🕒 '..duration..likeCount..dislikeCount..commentCount..'\n'
|
||||
if blocked then
|
||||
text = text..'\nACHTUNG, In Deutschland gesperrt!'
|
||||
end
|
||||
|
Reference in New Issue
Block a user