mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
* chore(route): support for new dribbble * chore: date and author support * refactor: migrate to v2 ---------
11 lines
260 B
JavaScript
11 lines
260 B
JavaScript
const utils = require('./utils');
|
|
|
|
module.exports = async (ctx) => {
|
|
const name = ctx.params.name;
|
|
const url = `https://dribbble.com/${name}`;
|
|
|
|
const title = `Dribbble - user ${name}`;
|
|
|
|
ctx.state.data = await utils.getData(ctx, url, title);
|
|
};
|