Skip to content

feat(route): Add bloomberg rss#11131

Merged
TonyRL merged 31 commits intoDIYgod:masterfrom
bigfei:patch-bloomberg
Nov 1, 2022
Merged

feat(route): Add bloomberg rss#11131
TonyRL merged 31 commits intoDIYgod:masterfrom
bigfei:patch-bloomberg

Conversation

@bigfei
Copy link
Copy Markdown
Contributor

@bigfei bigfei commented Oct 21, 2022

该 PR 相关 Issue / Involved issue

Close #10936

完整路由地址 / Example for the proposed route(s)

/bloomberg
/bloomberg/bpol
/bloomberg/bbiz

新 RSS 检查列表 / New RSS Script Checklist

  • 新的路由 New Route
  • 文档说明 Documentation
    • 中文文档 CN
    • 英文文档 EN
  • 全文获取 fulltext
    • 使用缓存 Use Cache
  • 反爬/频率限制 anti-bot or rate limit?
    • 如果有, 是否有对应的措施? If yes, do your code reflect this sign?
  • 日期和时间 date and time
    • 可以解析 Parsed
    • 时区调整 Correct TimeZone
  • 添加了新的包 New package added
  • Puppeteer

说明 / Note

Bloomberg has anti-spider system deployed, so it is better to run on self deployment.

@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/bloomberg - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:140:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:76:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
Helpful Information to provide when opening issue:
Path: /
Node version: v16.18.0
Git Hash: f03ff89
http://localhost:1200/bloomberg/bpol - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bpol
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:140:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:76:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
Helpful Information to provide when opening issue:
Path: /bpol
Node version: v16.18.0
Git Hash: f03ff89
http://localhost:1200/bloomberg/bbiz - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bbiz
Error message: TypeError: Cannot read properties of null (reading 'props')
    at /app/lib/v2/bloomberg/utils.js:86:90
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:76:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
    at async module.exports (/app/lib/v2/bloomberg/index.js:32:19)
Helpful Information to provide when opening issue:
Path: /bbiz
Node version: v16.18.0
Git Hash: f03ff89

@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/bloomberg - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /
Error message: TypeError: Cannot read properties of null (reading 'story')
    at /app/lib/v2/bloomberg/utils.js:142:53
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
    at async module.exports (/app/lib/v2/bloomberg/index.js:32:19)
Helpful Information to provide when opening issue:
Path: /
Node version: v16.18.0
Git Hash: 7be9968
http://localhost:1200/bloomberg/bpol - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bpol
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:139:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /bpol
Node version: v16.18.0
Git Hash: 7be9968
http://localhost:1200/bloomberg/bbiz - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bbiz
Error message: SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at /app/lib/v2/bloomberg/utils.js:103:47
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /bbiz
Node version: v16.18.0
Git Hash: 7be9968

@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/bloomberg - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:139:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /
Node version: v16.18.0
Git Hash: a0ad7bc
http://localhost:1200/bloomberg/bpol - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bpol
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:139:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /bpol
Node version: v16.18.0
Git Hash: a0ad7bc
http://localhost:1200/bloomberg/bbiz - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bbiz
Error message: SyntaxError: Unexpected end of JSON input
    at JSON.parse (<anonymous>)
    at /app/lib/v2/bloomberg/utils.js:103:47
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /bbiz
Node version: v16.18.0
Git Hash: a0ad7bc

@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/bloomberg - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:139:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /
Node version: v16.18.0
Git Hash: b6bd295
http://localhost:1200/bloomberg/bpol - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bpol
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:139:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /bpol
Node version: v16.18.0
Git Hash: b6bd295
http://localhost:1200/bloomberg/bbiz - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bbiz
Error message: TypeError: Cannot read properties of null (reading 'props')
    at /app/lib/v2/bloomberg/utils.js:83:90
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
    at async module.exports (/app/lib/v2/bloomberg/index.js:32:19)
Helpful Information to provide when opening issue:
Path: /bbiz
Node version: v16.18.0
Git Hash: b6bd295

@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/bloomberg - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /
Error message: TypeError: Cannot read properties of undefined (reading 'baseUrl')
    at processVideo (/app/lib/v2/bloomberg/utils.js:206:44)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async processLedeMedia (/app/lib/v2/bloomberg/utils.js:182:41)
    at async /app/lib/v2/bloomberg/utils.js:150:70
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
Helpful Information to provide when opening issue:
Path: /
Node version: v16.18.0
Git Hash: f7b0fa2
http://localhost:1200/bloomberg/bpol - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bpol
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:139:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /bpol
Node version: v16.18.0
Git Hash: f7b0fa2
http://localhost:1200/bloomberg/bbiz - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bbiz
Error message: TypeError: Cannot read properties of null (reading 'props')
    at /app/lib/v2/bloomberg/utils.js:83:90
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
    at async module.exports (/app/lib/v2/bloomberg/index.js:32:19)
Helpful Information to provide when opening issue:
Path: /bbiz
Node version: v16.18.0
Git Hash: f7b0fa2

@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/bloomberg - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:147:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /
Node version: v16.18.0
Git Hash: d12f7b5
http://localhost:1200/bloomberg/bpol - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bpol
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:147:30
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
Helpful Information to provide when opening issue:
Path: /bpol
Node version: v16.18.0
Git Hash: d12f7b5
http://localhost:1200/bloomberg/bbiz - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bbiz
Error message: TypeError: Cannot read properties of null (reading 'props')
    at /app/lib/v2/bloomberg/utils.js:91:90
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
    at async module.exports (/app/lib/v2/bloomberg/index.js:34:19)
Helpful Information to provide when opening issue:
Path: /bbiz
Node version: v16.18.0
Git Hash: d12f7b5

@bigfei
Copy link
Copy Markdown
Contributor Author

bigfei commented Oct 28, 2022

@TonyRL Can you try to deploy it standalone and test it locally?

@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/bloomberg - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /
Error message: TypeError: Cannot read properties of null (reading 'story')
    at /app/lib/v2/bloomberg/utils.js:150:53
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
    at async module.exports (/app/lib/v2/bloomberg/index.js:34:19)
    at async /app/node_modules/koa-mount/index.js:58:5
Helpful Information to provide when opening issue:
Path: /
Node version: v16.18.0
Git Hash: 8077da3
http://localhost:1200/bloomberg/bpol - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bpol
Error message: Error: cheerio.load() expects a string
    at Object.load (/app/node_modules/cheerio/lib/load.js:74:19)
    at /app/lib/v2/bloomberg/utils.js:130:39
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
    at async module.exports (/app/lib/v2/bloomberg/index.js:34:19)
Helpful Information to provide when opening issue:
Path: /bpol
Node version: v16.18.0
Git Hash: 8077da3
http://localhost:1200/bloomberg/bbiz - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /bbiz
Error message: TypeError: Cannot read properties of null (reading 'props')
    at /app/lib/v2/bloomberg/utils.js:91:90
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:73:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
    at async asyncPoolAll (/app/lib/v2/bloomberg/index.js:21:22)
    at async module.exports (/app/lib/v2/bloomberg/index.js:34:19)
    at async /app/node_modules/koa-mount/index.js:58:5
Helpful Information to provide when opening issue:
Path: /bbiz
Node version: v16.18.0
Git Hash: 8077da3

Added by mistake
@github-actions
Copy link
Copy Markdown
Contributor

Successfully generated as following:

http://localhost:1200/bloomberg - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /
Error message: TypeError: Cannot read properties of undefined (reading 'baseUrl')
    at processVideo (/app/lib/v2/bloomberg/utils.js:229:44)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async processBody (/app/lib/v2/bloomberg/utils.js:275:31)
    at async /app/lib/v2/bloomberg/utils.js:173:109
    at async Object.tryGet (/app/lib/middleware/cache/index.js:64:21)
    at async parseArticle (/app/lib/v2/bloomberg/utils.js:69:5)
    at async /app/node_modules/tiny-async-pool/lib/es9.js:12:34
    at async consume (/app/node_modules/tiny-async-pool/lib/es9.js:4:30)
    at async asyncPool (/app/node_modules/tiny-async-pool/lib/es9.js:17:13)
Helpful Information to provide when opening issue:
Path: /
Node version: v16.18.0
Git Hash: 6b3d6b9

...

@github-actions
Copy link