   videoDetailsLong: (channel, who, message, url) =>
     {path, query} = url
     # https://www.youtube.com/watch?v=HU2ftCitvyQ
-    if path.match(/^\/watch/) && (match = query.match /v=([A-Za-z0-9]+)/)
+    if path.match(/^\/watch/) && (match = query.match /v=([A-Za-z0-9_-]+)/)
       [_, video_id] = match
       console.log video_id
       @videoDetails channel, who, message, video_id

TwitterApi = require "ntwitter"
dateFormat = require('dateformat');

long_video_url = /\/?watch.*?/
short_video_url = 

class Plugin 
  constructor: (@bot, @config) -> 

  videoDetailsShort: (channel, who, message, url) =>
    {path} = url
    # http://youtu.be/HU2ftCitvyQ
    if match = path.match /\/?([A-Za-z0-9_-]+)/
      [_, video_id] = match
      @videoDetails channel, who, message, video_id

