Wow.. people are actually using my script..?
I remember watching this thread for the first few weeks/months after i posted it, but kinda forgot about it after that since it seemed like there was no interest
Until recently someone mentioned on IRC he and other people actually use it now, so figured I'd pop in and go through the comments..
Having done that, i figured a small update to address the 2 items mentioned wouldn't hurt.. and i ended up with a slightly bigger update than expected.. The previous version has no major issues I'm aware of, so this release mostly adds 2 handy features I should have probably added from the start..
Changes
- Added a default API key since IPs don't need to be individually whitelisted anymore.
Added support for YouTube searches returning multiple search results.
Added basic anti-flood measures by implementing a minimum interval between searches.
Updated dependency checking to be non-fatal to the hosting bot. (Suggested by caesar.)
Updated documentation for creating your own API key to match new dev console.
Fixed the socket not enabling TLS usage on some systems. (Fix suggested by Madalin.)
I've committed everything to my GIT repo so the link in the first post will use the new version unless you specifically select the previous release or commit.. i'll update the first post to add a direct link to be clear
Git repo
link
Direct download
link.
Note that as mentioned in the notes, you no longer have to bother getting your own API key.. i've added one of my own in the git repo. I can't recall exactly why I didn't do this initially, may have something to do with having to whitelist each IP individually back then..