use str.format instead of %
fix 400 error on some video sites
merge