function issupport(url)
    if url:match("^http://video.baidu.com/") then return true end
    return false   
end

function analyze(url)
    require('common')
    local json = require('json')
    local params = urlparamdecode(url)
    local result = {}
    result.Location = urldecode(params.url)
    return 301, json:encode(result)
end

