Files
RSSHub/lib/v2/penguin-random-house/router.js
StevenRCE0 2af4df23e6 feat(route): Penguin Random House (#10287)
* Initial commit of route Penguin Random House

* WIP: parse books into templates

* Updated radar info

* Added articles route

* Renamed the route and added docs

* Update lib/v2/penguin-random-house/articles.js according to suggestion

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Changed category to Reading, added En docs

* Changed pubDate format

* Update lib/v2/penguin-random-house/router.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/penguin-random-house/articles.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Update lib/v2/penguin-random-house/thereaddown.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* Parse time

* Fallback on failed regex matches

* Fallback date to undefined

* Update lib/v2/penguin-random-house/utils.js

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* fix: radar domain
2022-07-24 22:21:46 +08:00

5 lines
152 B
JavaScript

module.exports = function (router) {
router.get('/articles', require('./articles'));
router.get('/the-read-down', require('./thereaddown'));
};