zhanghai / doubanyearprogress Goto Github PK
View Code? Open in Web Editor NEWYear progress for Douban
Home Page: https://www.douban.com/people/year-progress/statuses
Year progress for Douban
Home Page: https://www.douban.com/people/year-progress/statuses
{
msg: 'invalid_device_id',
code: 9000,
request: 'POST /auth2/token',
localized_message: '当前版本过低,为保障帐号安全请更新后再试',
extra: {}
}
机器人坏了,停止更新在4月26日
function generateText () {
const now = moment().tz('Asia/Shanghai');
const yearStart = moment(now).startOf('year');
const yearEnd = moment(now).add(1, 'year');
const progress = Math.round(1000 * now.diff(yearStart) / yearEnd.diff(yearStart)) / 10;
let text = '';
for (let i = 5; i <= 100; i += 5) {
text += i <= progress ? '▓' : '░';
}
text += ' ' + progress + '%';
text += ' #' + now.get('year') + '#'
return text;
}
您好,我看到配置文件里有
key: '',
secret: '',
这两项。
我也看到消息说 2015 年后豆瓣关闭了个人开发者的申请,而您的 YearProgerss 是 2017 年才创建。
我也想做一个试试,所以想请教下您这个 key 验证是怎么搞到的?
:)
你好,这个账号从5月15日就没有更新了,可能是账号需要验证
对...
没玩过nodejs,不知道这个机器人咋用?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.