Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(jike): add user bio #11299

Merged
merged 1 commit into from
Nov 19, 2022
Merged

feat(jike): add user bio #11299

merged 1 commit into from
Nov 19, 2022

Conversation

sxzz
Copy link
Contributor

@sxzz sxzz commented Nov 19, 2022

该 PR 相关 Issue / Involved issue

N/A

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

/jike/user/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB

新 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

Add user's bio to description.

@github-actions github-actions bot added Route: v2 v2 route related Auto: Route Test Complete Auto route test has finished on given PR labels Nov 19, 2022
@github-actions
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/https://rsshub.app/jike/user/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB - Failed
HTTPError: Response code 404 (Not Found)

Route requested: /https://rsshub.app/jike/user/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB
Error message: Error: wrong path
    at module.exports (/app/lib/middleware/parameter.js:41:15)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async module.exports (/app/lib/middleware/anti-hotlink.js:99:5)
    at async module.exports (/app/lib/middleware/template.js:15:5)
    at async /app/lib/middleware/api-response-handler.js:143:9
    at async module.exports (/app/lib/middleware/api-template.js:2:5)
    at async module.exports (/app/lib/middleware/utf8.js:4:5)
    at async module.exports (/app/lib/middleware/header.js:21:5)
    at async module.exports (/app/lib/middleware/debug.js:9:5)
    at async grant (/app/lib/middleware/access-control.js:24:13)
Helpful Information to provide when opening issue:
Path: /https://rsshub.app/jike/user/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB
Node version: v16.18.1
Git Hash: 1dbe6ed

@github-actions
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/jike/user/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB - Success
<?xml version="1.0" encoding="UTF-8"?>
<rss  xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"
>
    <channel>
        <title><![CDATA[DIYgod小可爱的即刻动态]]></title>
        <link>https://m.okjike.com/users/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB</link>
        <atom:link href="http://localhost:1200/jike/user/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB" rel="self" type="application/rss+xml" />
        <description><![CDATA[写代码是热爱,写到世界充满爱!Cofounder of RSS3. diygod.eth - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)]]></description>
        <generator>RSSHub</generator>
        <webMaster>i@diygod.me (DIYgod)</webMaster>
        <language>zh-cn</language>
        <image>
            <url>https://cdnv2.ruguoapp.com/FkUZEqi5rOVyIbFjIY5Bs9yyliJYv2.jpg?imageMogr2/auto-orient/heic-exif/1/format/jpeg/thumbnail/!1000x1000r/gravity/Center/crop/!1000x1000a0a0</url>
            <title><![CDATA[DIYgod小可爱的即刻动态]]></title>
            <link>https://m.okjike.com/users/3EE02BC9-C5B3-4209-8750-4ED1EE0F67BB</link>
        </image>
        <lastBuildDate>Sat, 19 Nov 2022 06:41:22 GMT</lastBuildDate>
        <ttl>5</ttl>
        <item>
            <title><![CDATA[发布了: 空中出现的黑魔标记(麻瓜只能看到一张滑稽的人脸)]]></title>
            <description><![CDATA[空中出现的黑魔标记(麻瓜只能看到一张滑稽的人脸)<br><br><img src="https://cdnv2.ruguoapp.com/Fpf1cNNNlxGHdN5c5ajJO7d1Abjqv3.heic?imageMogr2/auto-orient/heic-exif/1/format/jpeg/thumbnail/3375000@" referrerpolicy="no-referrer"><br><img src="https://cdnv2.ruguoapp.com/Fh1HzAwi_k3xVFkCM__V2-jhITCBv3.heic?imageMogr2/auto-orient/heic-exif/1/format/jpeg/thumbnail/3000000@" referrerpolicy="no-referrer">]]></description>
            <pubDate>Fri, 28 Oct 2022 21:09:32 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/originalPosts/635c450cf2982e4b67814781</guid>
            <link>https://m.okjike.com/originalPosts/635c450cf2982e4b67814781</link>
        </item>
        <item>
            <title><![CDATA[发布了: 五分钟拥有一个区块链和 IPFS 上的去中心化博客 2023 年了,你还在写博客嘛?你的博客内容载体,是像 medium、微信公众号这种封闭的第三方平台,还是自...]]></title>
            <description><![CDATA[五分钟拥有一个区块链和 IPFS 上的去中心化博客<br><br>2023 年了,你还在写博客嘛?你的博客内容载体,是像 medium、微信公众号这种封闭的第三方平台,还是自建的在 GitHub 上开源的博客框架?<br><br>还是最酷炫、最象征自由、最未来、最充满无尽可能的博客解决方案<br><br><a href="https://song.xlog.app/5m-zh">五分钟拥有一个区块链和 IPFS 上的去中心化博客</a>]]></description>
            <pubDate>Sat, 15 Oct 2022 03:09:13 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/originalPosts/634a2459280ccb8d5ac3ea24</guid>
            <link>https://m.okjike.com/originalPosts/634a2459280ccb8d5ac3ea24</link>
        </item>
        <item>
            <title><![CDATA[发布了: 第一个开源链上博客系统 xLog 官网:https://xlog.app GitHub:https://github.com/Crossbell-Box/xLog 优雅:开箱即用,零成本低门槛,精心设计的默认...]]></title>
            <description><![CDATA[第一个开源链上博客系统 xLog<br><br>官网:https://xlog.app<br>GitHub:https://github.com/Crossbell-Box/xLog<br><br>优雅:开箱即用,零成本低门槛,精心设计的默认主题<br><br>区块链:所有博客数据,包括网站配置、文章、关注、评论、点赞等,都由你签名并发布在区块链上,以 NFT 的形式存在,只能由掌管私钥的你自己控制<br><br>交互丰富:你可以在区块链上关注你喜欢的博客,评论、点赞文章或把文章铸造为 NFT<br><br>高度可定制:自定义域名、导航栏、自定义样式等,当然,它们都是存储在区块链上的<br><br>丰富的生态:可以与蓬勃发展的 Crossbell 所有生态应用无缝集成,写博客不再孤单<br><br><img src="https://cdnv2.ruguoapp.com/FrWMbU_S-nKQluzbAInMCK9Ky1PTv3.png?imageMogr2/auto-orient/thumbnail/7054080@" referrerpolicy="no-referrer"><br><img src="https://cdnv2.ruguoapp.com/FtjOJRzN4hEv7XcIZ7fgVbF93bR_v3.png?imageMogr2/auto-orient/thumbnail/7549320@" referrerpolicy="no-referrer"><br><img src="https://cdnv2.ruguoapp.com/FgJZpZpuiAusEexJ8RSk90TJPic0v3.png?imageMogr2/auto-orient/thumbnail/720114@" referrerpolicy="no-referrer"><br><img src="https://cdnv2.ruguoapp.com/FibIXAu6MOjGA45P7EkTxeKQrdtuv3.png?imageMogr2/auto-orient/thumbnail/1158224@" referrerpolicy="no-referrer">]]></description>
            <pubDate>Thu, 13 Oct 2022 02:00:27 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/originalPosts/6347713b0a31241e35d233c6</guid>
            <link>https://m.okjike.com/originalPosts/6347713b0a31241e35d233c6</link>
        </item>
        <item>
            <title><![CDATA[发布了: 英国旅游VLOG | 发小带你逛哈利波特制片厂_哔哩哔哩_bilibili]]></title>
            <description><![CDATA[英国旅游VLOG | 发小带你逛哈利波特制片厂_哔哩哔哩_bilibili<br><br><a href="https://www.bilibili.com/video/BV1iv4y1M7iu?p=1&amp;share_medium=iphone&amp;share_plat=ios&amp;share_session_id=0099650A-DCFF-46AE-B330-E698826FDE20&amp;share_source=COPY&amp;share_tag=s_i&amp;timestamp=1656298263&amp;unique_k=BRp9wt6">英国旅游VLOG | 发小带你逛哈利波特制片厂_哔哩哔哩_bilibili</a>]]></description>
            <pubDate>Mon, 27 Jun 2022 02:51:27 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/originalPosts/62b91b2f4fa99449a322a9bd</guid>
            <link>https://m.okjike.com/originalPosts/62b91b2f4fa99449a322a9bd</link>
        </item>
        <item>
            <title><![CDATA[发布了: 5 分钟使用 Unidata 把 NFT 展示在自己博客里 https://diygod.me]]></title>
            <description><![CDATA[5 分钟使用 Unidata 把 NFT 展示在自己博客里<br>https://diygod.me<br><br><img src="https://cdnv2.ruguoapp.com/FuV1b0ZceTRuaycu40DTBeynTOrxv3.png?imageMogr2/auto-orient/thumbnail/3928320@" referrerpolicy="no-referrer">]]></description>
            <pubDate>Mon, 30 May 2022 15:18:49 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/originalPosts/6294e059af16fd2fab2a730c</guid>
            <link>https://m.okjike.com/originalPosts/6294e059af16fd2fab2a730c</link>
        </item>
        <item>
            <title><![CDATA[发布了: 公布个新的开源项目:💡 Unidata - 提供人类友好的 Web3 数据的便捷访问 Web3 的魅力在于数据属于用户自己,但由于区块链低效的效率和设计,再加上数...]]></title>
            <description><![CDATA[公布个新的开源项目:💡 Unidata - 提供人类友好的 Web3 数据的便捷访问<br><br>Web3 的魅力在于数据属于用户自己,但由于区块链低效的效率和设计,再加上数据格式标准的缺失,访问和展示自己或用户的 Web3 数据是一件极度困难的事情。所以我做了开源项目 Unidata(https://unidata.app),给 Web3 开发者提供人类友好的 Web3 数据的便捷访问。<br><br>Ethereum NFT 数据是目前 Web3 最常使用的数据,所以我使用 Ethereum NFT 来举例。<br><br>1. Ethereum NFT 使用 EIP-721 标准,它的数据格式非常“灵活”,比如一个 NFT 的图片可能根据发布者不同的喜好使用 `image` `image_url` 或 `animation_url` 等各种不统一的字段,甚至根本不是一个图片,还可能是视频、3D 模型等,这给前端展示带来了很多麻烦。<br><br>2. 获取一个地址拥有的全部 Ethereum NFT 也非常麻烦,由于 Ethereum 的设计,想要获取它需要读取这个地址的全部交易记录,而且 Ethereum 不止主网,还有 Polygon、BSC、Arbitrum、fantom、Gnosis 等各种侧链,这对前端是一个不可能的工作,目前各种各样的数据索引服务可以部分解决这个问题,但这些服务返回的数据格式各不相同、功能各有优劣、各支持了不同的链,应该如何选择呢?<br><br>针对第一个问题,Unidata 设计了一系列友好和统一的数据格式,分为 Profiles、Links、Assets、Notes 四个部分。Ethereum NFT 属于 Assets 的格式。通过 Unidata 返回的固定的数据格式,前端不再需要做麻烦的适配混乱的数据格式的工作。<br><br>另外值得一提的是不止 Ethereum NFT,Unidata 目前还支持了 Solana NFT,Ethereum NFT 和 Solana NFT 的数据格式也是统一的,Unidata 还将继续支持更多的 Assets 来源,他们的格式也都会是统一的。<br><br>解决完第一个问题,第二个问题也就很容易解决了。Unidata 的做法是把各个服务返回的数据统一成相同的格式并做聚合。比如 OpenSea 服务支持了主网,Alchemy 服务支持了 Polygon,Moralis 服务支持了 BSC、Arbitrum、fantom,POAP 服务支持了 Gnosis 链的 POAP NFT。通过 Unidata 一行代码就可以同时使用这些服务同时获取到主网、Polygon、BSC、Arbitrum、fantom、POAP 的所有 NFT 了。可以在这里看在线演示(https://unidata.app/guide/assets/ethereum-nft/#live-demo)。 <br><br>除了 Assets,Unidata 还有 Profiles、Links、Notes 三个部分。<br><br>Assets(https://unidata.app/guide/assets/) 目前支持了 Ethereum NFT(Mainnet、Polygon、BSC、Arbitrum、Fantom、Gnosis、POAP)、Solana NFT、Alchemy、Solscan、Moralis、OpenSea。<br><br>Notes(https://unidata.app/guide/notes/) 目前支持了 Mirror Entry、Ethereum NFT Activity(Mainnet、Polygon、BSC、Arbitrum、Fantom、Gnosis、POAP)、RSS3。<br><br>Profiles(https://unidata.app/guide/profiles/) 目前支持了 ENS、Crossbell、Infura。<br><br>Links(https://unidata.app/guide/links/) 目前支持了 CyberConnect。<br><br>还有很多正在不断添加中,可以在文档看目前支持的所有服务和数据源(https://unidata.app/guide/#supported-sources)。 <br><br><a href="https://mirror.xyz/0xcf6D0a68Bef39da19D0706a11aD97eeab71F41fE/tIG8t0PYqllzcdGRxITnPxhQu0i9ZJl91-tJnKGSOfA">💡 Unidata - 提供人类友好的 Web3 数据的便捷访问</a>]]></description>
            <pubDate>Sat, 07 May 2022 10:58:58 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/originalPosts/627650f24657e340381bf854</guid>
            <link>https://m.okjike.com/originalPosts/627650f24657e340381bf854</link>
        </item>
        <item>
            <title><![CDATA[发布了: 你今天领 RSS3 空投了么?]]></title>
            <description><![CDATA[你今天领 RSS3 空投了么?]]></description>
            <pubDate>Thu, 17 Mar 2022 19:09:11 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/originalPosts/62338757fe704900101e3b17</guid>
            <link>https://m.okjike.com/originalPosts/62338757fe704900101e3b17</link>
        </item>
        <item>
            <title><![CDATA[转发了: 🤗]]></title>
            <description><![CDATA[🤗<br><br>转发 <a href="https://m.okjike.com/users/169a5be6-f874-4df9-a2d1-a07e9e0e429b" target="_blank">@Songkeys</a>: 在 RSS3 遇见最酷最理想最自由的工作。<br>​加入我们,为信息自由的互联网做一点点贡献。<br><img src="https://cdnv2.ruguoapp.com/Fpo4kXyL2qJIf2122nTJkltaXn29v2.jpeg?imageMogr2/auto-orient/crop/!x3100a0a0/thumbnail/x300" referrerpolicy="no-referrer">]]></description>
            <pubDate>Tue, 01 Mar 2022 10:39:40 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/reposts/621df7ec67132800108e3122</guid>
            <link>https://m.okjike.com/reposts/621df7ec67132800108e3122</link>
        </item>
        <item>
            <title><![CDATA[转发了: 🥳]]></title>
            <description><![CDATA[🥳<br><br>转发 <a href="https://m.okjike.com/users/95439d6d-3f02-4d11-b4c4-a6ccc1e82469" target="_blank">@小_邦</a>: 感谢@DIYgod小可爱 !<br>今天,我在rss3有了自己的坐标~<br><img src="https://cdnv2.ruguoapp.com/FnpyGawqslHjyYwCdkag7SLO8Lk1v2.jpeg?imageMogr2/auto-orient/thumbnail/300x2000%3E/quality/70/interlace/1" referrerpolicy="no-referrer"><br><img src="https://cdnv2.ruguoapp.com/Ftan9wlZxM-m_i9hoKyjMZnZul8ev2.jpeg?imageMogr2/auto-orient/thumbnail/300x2000%3E/quality/70/interlace/1" referrerpolicy="no-referrer">]]></description>
            <pubDate>Sat, 19 Feb 2022 15:07:27 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/reposts/621107af07e8950010cf8635</guid>
            <link>https://m.okjike.com/reposts/621107af07e8950010cf8635</link>
        </item>
        <item>
            <title><![CDATA[转发了: 确保!]]></title>
            <description><![CDATA[确保!<br><br>转发 <a href="https://m.okjike.com/users/783a9e54-92e7-4153-a9a2-afa3c98d26bd" target="_blank">@BlockBeats</a>: 今天几个交易平台都上RSS3了。「已成功确保」✔]]></description>
            <pubDate>Mon, 14 Feb 2022 07:51:26 GMT</pubDate>
            <guid isPermaLink="false">https://m.okjike.com/reposts/620a09fe1b3afa001092c439</guid>
            <link>https://m.okjike.com/reposts/620a09fe1b3afa001092c439</link>
        </item>
    </channel>
</rss>

@TonyRL TonyRL merged commit 01e0160 into DIYgod:master Nov 19, 2022
@sxzz sxzz deleted the feat/jike-bio branch November 19, 2022 15:02
ZuskaFUN added a commit to ZuskaFUN/JRSS that referenced this pull request Nov 21, 2022
* chore(deps): bump @sentry/node from 7.19.0 to 7.20.0 (DIYgod#11289)

Bumps [@sentry/node](https://github.com/getsentry/sentry-javascript) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/master/CHANGELOG.md)
- [Commits](getsentry/sentry-javascript@7.19.0...7.20.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat(jike): add user bio (DIYgod#11299)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
stariveer added a commit to stariveer/RSSHub that referenced this pull request Nov 24, 2022
* commit 'b924cba60235b45965e787b47311d598cf54094f': (203 commits)
  chore(deps): bump @sentry/node from 7.21.0 to 7.21.1 (DIYgod#11323)
  test(puppeteer): wait for bot test result (DIYgod#11322)
  fix(route): twreporter (category) (DIYgod#11243)
  fix(route): nautilus (DIYgod#11242)
  style: auto format
  feat(route): 支持长沙停水通知 (DIYgod#11316)
  chore(deps): bump @sentry/node from 7.20.1 to 7.21.0 (DIYgod#11318)
  chore(deps-dev): bump eslint from 8.27.0 to 8.28.0 (DIYgod#11307)
  fix(route): images value path changed (DIYgod#11317)
  style: auto format
  feat(route): 支持长沙市市长信箱 (DIYgod#11303)
  chore(deps-dev): bump jest-junit from 14.0.1 to 15.0.0 (DIYgod#11310)
  chore(deps): bump jsdom from 20.0.2 to 20.0.3 (DIYgod#11312)
  chore(deps): bump chrono-node from 2.4.1 to 2.4.2 (DIYgod#11308)
  chore(deps): bump rand-user-agent from 1.0.90 to 1.0.91 (DIYgod#11311)
  chore(deps): bump @sentry/node from 7.20.0 to 7.20.1 (DIYgod#11309)
  feat(route): add AIEA seminars (DIYgod#11302)
  feat(route): add 国务院政策文件库 (DIYgod#11301)
  feat(jike): add user bio (DIYgod#11299)
  chore(deps): bump @sentry/node from 7.19.0 to 7.20.0 (DIYgod#11289)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Auto: Route Test Complete Auto route test has finished on given PR Route: v2 v2 route related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants