mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-29 16:07:42 +08:00
* chore(route): support for new dribbble * chore: date and author support * refactor: migrate to v2 ---------
26 lines
821 B
JavaScript
26 lines
821 B
JavaScript
module.exports = {
|
|
'dribbble.com': {
|
|
_name: 'Dribbble',
|
|
'.': [
|
|
{
|
|
title: 'Keyword',
|
|
docs: 'https://docs.rsshub.app/routes/design#dribbble',
|
|
source: ['/search/shots/recent'],
|
|
target: (_, url) => `/dribbble/keyword/${new URL(url).searchParams.get('q')}`,
|
|
},
|
|
{
|
|
title: 'Popular',
|
|
docs: 'https://docs.rsshub.app/routes/design#dribbble',
|
|
source: ['/'],
|
|
target: '/dribbble/popular',
|
|
},
|
|
{
|
|
title: 'User (or team)',
|
|
docs: 'https://docs.rsshub.app/routes/design#dribbble',
|
|
source: ['/:name'],
|
|
target: '/dribbble/user/:name',
|
|
},
|
|
],
|
|
},
|
|
};
|