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

fetch title and some stats from youtube #63

Closed
sillyslux opened this issue Aug 8, 2017 · 3 comments
Closed

fetch title and some stats from youtube #63

sillyslux opened this issue Aug 8, 2017 · 3 comments

Comments

@sillyslux
Copy link

people paste youtube links, and it's just annoying to run into pokemon and dragonball vids.
please make the bot load the title and some statistics and paste it to the channel.
e.g. on #ubuntu-hr it looks like this:
<user> https://www.youtube.com/watch?v=gSrnXgAmK8k
<bot> ^ YouTube :: All of our data is GONE! :: Duration: 22:58 :: Views: 2,343,987 uploaded by LinusTechTips :: 89,467 likes :: 1,530 dislikes :: 0 favorites

@ljharb
Copy link
Member

ljharb commented Aug 9, 2017

oftn-bot seems to pretty intentionally not respond to random triggers, only a short, finite list of explicit triggers.

Adding something like !youtube $link might be nice, but responding to any pasted youtube link seems extreme.

@inimino
Copy link
Member

inimino commented Aug 9, 2017

Agreed that parsing random links is not the way to handle people posting off-topic content. Maybe ask them politely not to do that instead.

Extra botspam is not always appreciated in the channel either. That is indeed why we only respond to explicit triggers.

@sillyslux
Copy link
Author

sillyslux commented Aug 9, 2017

ups, if you don't like it feel free to close the pr, i'll leave it open for you to decide.
there are not many youtube links in the channel and i certainly wouldn't want the bot to go after every webpage, but youtube i definitely want.
the testbot is still online, so you can try, i'll take it down in a couple of hours.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants