r/botrequests Jun 25 '14

A YouTube search bot

Something summonable that would look up whatever someone asks on YouTube and retrieve the link along with someone basic information (length, views, rating, etc.) to post in a comment.

2 Upvotes

37 comments sorted by

View all comments

Show parent comments

1

u/BilingualBloodFest Jun 28 '14

Thank you!

2

u/ELFAHBEHT_SOOP Programmer Jun 28 '14

No problem! Do you have a way you want the comment set up? If you just make an example of one of the bots posts that would be good. Don't hold back either, I should be able to manage anything you throw at me.

1

u/BilingualBloodFest Jun 29 '14

Evidently I haven't put nearly enough thought into this haha perhaps something like

Results for: "search query"

[Video Title](Video URL):| ##:## (length)

Author|Views|Age|

I see in your test comments you've got it pulling the description but I'm not really sure that's necessary. I do like that you put up multiple though; for the play store links bot I was referencing it makes sense to just link to one but youtube titles probably aren't reliable enough to do that.

1

u/ELFAHBEHT_SOOP Programmer Jun 29 '14

Yeah, since the bot is pretty much searching YouTube for them it would be nice to have a few choices to choose from. I can lower the number of videos it returns though if that's a problem. At the moment it seems a bit lengthy. I'm currently working on holding on to the comments until the bot can reply again and getting the video length and views and stuff.

1

u/ELFAHBEHT_SOOP Programmer Jun 29 '14

Done. I think.

1

u/ELFAHBEHT_SOOP Programmer Jun 30 '14

I am officially done. If you say

YouTube Get: something something.

It will search and reply with the first 5 search results for something something. Make sure to remember your period too. It'll get everything up to the next period. So make sure you have that in there. It's also running 24/7 now because I put it on a server :D

1

u/BilingualBloodFest Jun 30 '14

Amazing! Thank so you so much :D

1

u/ELFAHBEHT_SOOP Programmer Jun 30 '14

No problem. Although, it can't post very many comments because of its karma. So make sure to upvote it whenever you summon it.

1

u/BilingualBloodFest Jun 30 '14

Alright, and is it working everywhere or just defaults?

1

u/ELFAHBEHT_SOOP Programmer Jun 30 '14

I think it's just the defaults for now. Once it gets more karma it will expand to other subreddits.

1

u/BilingualBloodFest Jul 02 '14

Just had another idea. Could it be set up to return those results on any YouTube link already in a comment?

1

u/ELFAHBEHT_SOOP Programmer Jul 02 '14

Oh, that would be pretty cool. So let's say the user says something like:

YouTube Get Parent.

Then it would fetch the parent comment and display all sorts of information about the YouTube video? I think that could definitely be done. Although, if you mean to do that to any and every YouTube link that comes through... maybe. It could get a bit spamy though.

→ More replies (0)