使用自定义URL创建Google站点的URI格式是什么

2024-10-05 14:30:24 发布

您现在位置:Python中文网/ 问答频道 /正文

使用python google appengine:

entry = client.create_site(orgName,
    description=orgDescription, 
    source_site='https://sites.google.com/feeds/site/dpau.org/org' 
    uri='https://sites.google.com/feeds/site/dpau.org/MyCustomURL')

对于URI=

我对URI使用了无效的格式吗?uri='MyCustomUrl'也不起作用。在


Tags: httpsorgcomclientcreategooglesiteuri
1条回答
网友
1楼 · 发布于 2024-10-05 14:30:24

您的参数列表中缺少一个逗号,但我不知道这是否可以修复您看到的错误。你能复制/粘贴实际错误吗?在

entry = client.create_site(orgName, description=orgDescription,
            source_site='https://sites.google.com/feeds/site/dpau.org/org',  # this comma right here
            uri='https://sites.google.com/feeds/site/dpau.org/MyCustomURL')

相关问题 更多 >