fix(route): AP News (#7035)

This commit is contained in:
mjysci
2021-03-02 01:58:09 -05:00
committed by GitHub
parent cd4c872161
commit d2abeb9883
3 changed files with 37 additions and 54 deletions
+3 -2
View File
@@ -1917,10 +1917,11 @@ column 为 third 时可选的 category:
## 网易号(通用)
优先使用方法一,若是网易号搜索页面搜不到的小众网易号(文章页面不含`data-wemediaid`)则可使用此法。
触发反爬会只抓取到标题,建议自建。
<Route author="mjysci" example="/netease/dy2/T1555591616739" path="/netease/dy2/:id" :paramsDesc="['id,该网易号主页网址最后一项html的文件名']" anticrawler="1"/>
优先使用方法一,若是网易号搜索页面搜不到的小众网易号(文章页面不含`data-wemediaid`)则可使用此法。
触发反爬会只抓取到标题,建议自建。
## 网易新闻
### 排行榜
+2 -1
View File
@@ -28,7 +28,8 @@ pageClass: routes
### 话题
<Route author="zoenglinghou" example="/apnews/topics/apf-topnews" path="/apnews/topics/:topic" :paramsDesc="['话题名称,可在 URL 中找到,例如 AP Top News [https://apnews.com/apf-topnews](https://apnews.com/apf-topnews) 的话题为 `apf-topnews`']" radar="1" rssbud="1"/>
<Route author="mjysci" example="/apnews/topics2/ap-top-news" path="/apnews/topics2/:topic" :paramsDesc="['话题名称,可在 URL 中找到,例如 AP Top News [https://apnews.com/hub/ap-top-news](https://apnews.com/hub/ap-top-news) 的话题为 `ap-top-news`']" anticrawler="1"/>
采用了`puppeteer`规避`Project Shield`,无全文抓取,建议自建。
## BBC