simple code using Pafy