* fix(route): 小红书 用户笔记(全文抓取) * fixed package.json's semver prefix character * fixed conditions for user page response * fixed timed out issue when getting full text * removed the capability to get full text * added full text feature for notes * added filter for unnecessary resources requested * Switched to a concise way to get JSON from HTML * to bypass the null checked warning from DeepScan * added note full text to cache * added more readable error messages * moved full text feature under a new parameter * Update maintainer format * Refactor the error message typing * Refactor the error message typing * Refactor error message typing * Refactor the usage of `tryGet` for expire time * Close the user page earlier to release resouces ---------
6 lines
222 B
JavaScript
6 lines
222 B
JavaScript
module.exports = (router) => {
|
|
router.get('/board/:board_id', require('./board'));
|
|
router.get('/user/:user_id/notes/fulltext', require('./notes'));
|
|
router.get('/user/:user_id/:category', require('./user'));
|
|
};
|