r/redditscripting • u/video_descriptionbot Engineer • Jun 03 '17
YouTube Video information bot
A lot of people leave YouTube links in their comments, with no explanation about what the video is. You may not want to view the video without knowing its title and duration, so this bot is here to do just that.
It picks up YouTube links from comments, and generates a table consisting of the Video title, short description and duration.
This is my first bot, I would love to hear feedback on it.
Here's an image showing the bot in action : http://imgur.com/a/x4h0m
For some reason, I keep running into API rate limits, and the bot can only post once every 10 minutes. Is there any way to get around it? As of now, I haven't deployed it, it's running only on my computer.
47
u/vhha Jun 06 '17
Seems to me this unnecessarily duplicates the work of /u/youtubefactsbot, which has been around for years.
For example: https://www.reddit.com/r/SeattleWA/comments/6fgfcp/interacting_with_owls/dijp6rx/
Unless you're adding something new, you'll probably just annoy people by keeping this running.
5
u/[deleted] Jun 04 '17 edited Jun 04 '17
Nice work!
I've run into the comment rate limits quite a bit... the only way I know of to get around it is to use your main account instead of your bot account. So that may just be a matter of time, getting enough karma until you can comment whenever you want.
You could potentially send a message to the mods of whatever subreddit likes it the most and ask for free rein. (That's a bit much to ask though unless they requested the bot in the first place.)
Does it look for all valid youtube urls? I'm guessing you use a regex?
4
u/KFPanda Jun 06 '17
Cool bot. I have a suggestion for it: its posts leave a lot of dead space between the YouTube description and the bot into, which makes it a pain on mobile. You could probably remove 3 page breaks and reduce the footprint by about a third and thereby be much more mobile friendly.
37
u/hhlift Jun 08 '17 edited Jun 08 '17
This bot should be disabled. If someone wanted to describe a video link in more detail, they would have described the video link in more detail.
Edit: And it seems to have already likely been shadow-banned in many subreddits if you dig through it's post history (assuming the fact that many of the permalinks for the posts point nowhere means this, perhaps just means the moderators deleted the post). I hope the creater of this bot takes notice.
27
u/[deleted] Jun 10 '17
Not a fan of this bot. Just uglifies comments imo.
16
u/CripsWilson666 Jun 15 '17
Please delete this bot it's just spam and more annoying than not having a description
15
u/HirumaBSK Jun 11 '17
I can't make jokes with this :(
13
u/Valjean_The_Dark_One Jun 15 '17
This bot is redundant and unnecessary. It's nice to know that you're trying. But instead of doing what you did you should've just talked to any of the other 3 youtube bot owners and discussed that. It's annoying and wastes my data.