from pytypecho import Typecho
获取typecho分类详情:
def getcategory():
te = Typecho('http://***.com/index.php/action/xmlrpc', username='***', password='*****')
allType = (te.get_categories())
mType=[]
for i in allType:
mType.append(i["categoryId"]+' '+i["categoryName"])
return (mType)
本文标题: | typecho的python模块:pytypecho |
本文链接: (转载请附上本文链接) | https://vulsee.com/archives/vulsee_2021/0506_14299.html |