微慑信息网

typecho的python模块:pytypecho

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
转载请附本站链接,未经允许不得转载,,谢谢:微慑信息网-VulSee.com » typecho的python模块:pytypecho
分享到: 更多 (0)

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

微慑信息网 专注工匠精神

访问我们联系我们