refactor the weibopy module