Giter Club home page Giter Club logo

Comments (10)

francis-du avatar francis-du commented on May 26, 2024

语雀文档是公开的~

from yuque-hexo.

YUUtan1994 avatar YUUtan1994 commented on May 26, 2024

same question here.编译了很多次,把yuque-hexo更新到1.6.2版本,还是返回401,可能语雀那边做了什么限制。之前是正常的

from yuque-hexo.

x-cold avatar x-cold commented on May 26, 2024

需要设置一下你的 TOKEN,如果拉数据频率很高的话,会被服务器限流的。

from yuque-hexo.

francis-du avatar francis-du commented on May 26, 2024

每天拉一次~

from yuque-hexo.

x-cold avatar x-cold commented on May 26, 2024

每一篇文章的拉取,都需要调用一次 API 哦

• 匿名请求,IP 限制, 200 次/小时
• 传递 Token 的情况下,每个用户(基于 Token 关联到的账户),5000 次/小时;

失效会返回 429 返回码。

https://www.yuque.com/yuque/developer/api#5b3a1535

楼上有一个是 401 返回码的,应该是仓库权限的问题,传入 TOKEN 也能解决

from yuque-hexo.

iszengmh avatar iszengmh commented on May 26, 2024

token怎么设置,我看readme.md中写注入环境变量怎么注入,我在电脑上创建了环境变量,但是没有用,如果是travis-ci上怎么设置的

from yuque-hexo.

francis-du avatar francis-du commented on May 26, 2024

同问

from yuque-hexo.

x-cold avatar x-cold commented on May 26, 2024

travis ci 注入 token
image

from yuque-hexo.

x-cold avatar x-cold commented on May 26, 2024

电脑本地的环境变量就按照常规的方式设置即可。
linux / osx: https://blog.csdn.net/yi412/article/details/11523525
windows: https://blog.csdn.net/palmer_kai/article/details/80588594

或者通过执行命令时带参数
linux / mac: YUQUE_TOKEN=xxx yuque-hexo sync
window: set YUQUE_TOKEN && yuque-hexo sync

from yuque-hexo.

francis-du avatar francis-du commented on May 26, 2024

@x-cold 好了,搞定,谢谢~

from yuque-hexo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.