fix njupt posts with url redirections (#8961)

* fix njupt posts with url redirections

skip posts that are redirected to error pages due to access control

* fix: migrate to v2

* fix: pubDate depreciated url.resolve

Co-authored-by: TonyRL <TonyRL@users.noreply.github.com>
This commit is contained in:
Shao ye
2022-03-13 07:24:06 -07:00
committed by GitHub
parent 713415093f
commit ee1eab23d8
6 changed files with 116 additions and 87 deletions

View File

@@ -607,9 +607,6 @@ router.get('/ustc/job/:category?', lazyloadRouteHandler('./routes/universities/u
// UTdallas ISSO
router.get('/utdallas/isso', lazyloadRouteHandler('./routes/universities/utdallas/isso'));
// 南京邮电大学
router.get('/njupt/jwc/:type?', lazyloadRouteHandler('./routes/universities/njupt/jwc'));
// 南昌航空大学
router.get('/nchu/jwc/:type?', lazyloadRouteHandler('./routes/universities/nchu/jwc'));