Files
Joshua Peek 44305f529b fix(route): bloomberg author (#11619)
* Switch bloomberg author feed to html scraper

* Safely resolve relative href

* Prefer WHATWG URL API

* Remove list cache

* Cache article list

* Avoid caching captcha

* Add back rss parser as fallback

* Load author news list from api

* Fallback to rss

* docs: add docs for new params
2023-01-19 22:15:12 +08:00

6 lines
196 B
JavaScript

module.exports = function (router) {
router.get('/authors/:id/:slug/:source?', require('./authors'));
router.get('/:site', require('./index'));
router.get('/', require('./index'));
};