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

fix(modrinth): switch to ofetch since it's not suppor got.json() #15166

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

SettingDust
Copy link
Contributor

Involved Issue / 该 PR 相关 Issue

Close #

Example for the Proposed Route(s) / 路由地址示例

/modrinth/project/lithosphere/versions

New RSS Route Checklist / 新 RSS 路由检查表

  • New Route / 新的路由
  • Anti-bot or rate limit / 反爬/频率限制
    • If yes, do your code reflect this sign? / 如果有, 是否有对应的措施?
  • Date and time / 日期和时间
    • Parsed / 可以解析
    • Correct time zone / 时区正确
  • New package added / 添加了新的包
  • Puppeteer

Note / 说明

@github-actions github-actions bot added the Route label Apr 9, 2024
Copy link
Contributor

github-actions bot commented Apr 9, 2024

Successfully generated as following:

http://localhost:1200/modrinth/project/lithosphere/versions - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Lithosphere Modrinth versions</title>
    <link>https://modrinth.com/project/lithosphere</link>
    <atom:link href="http://localhost:1200/modrinth/project/lithosphere/versions" rel="self" type="application/rss+xml"></atom:link>
    <description>Lithosphere aims to change the overworld worldgen to be more cinematic, polished and beatiful. - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)</description>
    <generator>RSSHub</generator>
    <webMaster>i@diygod.me (DIYgod)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 09 Apr 2024 01:35:46 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>lithosphere 1.0 for fabric/forge/quilt on 1.19-1.20.4</title>
      <description>&lt;p&gt;lithosphere 1.0 - 1.0+mod&lt;/p&gt;&lt;p&gt;&lt;b&gt;Loaders: &lt;/b&gt;fabric forge quilt &lt;/p&gt;&lt;p&gt;&lt;b&gt;Game Versions: &lt;/b&gt;1.19 1.19.1 1.19.2 1.19.3 1.19.4 1.20 1.20.1 1.20.2 1.20.3 1.20.4 &lt;/p&gt; &lt;p&gt;the initial release of lithosphere!&lt;/p&gt;
        &lt;p&gt;Files:&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://cdn.modrinth.com/data/iv9jp2k9/versions/VtCowAjU/lithosphere-1.0.jar&quot;&gt;lithosphere-1.0.jar&lt;/a&gt;&lt;/p&gt;</description>
      <link>https://modrinth.com/project/lithosphere/version/1.0+mod</link>
      <guid isPermaLink="false">VtCowAjU</guid>
      <pubDate>Wed, 27 Mar 2024 22:34:52 GMT</pubDate>
      <author>Jayzet</author>
    </item>
    <item>
      <title>lithosphere 1.0 for datapack on 1.19-1.20.4</title>
      <description>&lt;p&gt;lithosphere 1.0 - 1.0&lt;/p&gt;&lt;p&gt;&lt;b&gt;Loaders: &lt;/b&gt;datapack &lt;/p&gt;&lt;p&gt;&lt;b&gt;Game Versions: &lt;/b&gt;1.19 1.19.1 1.19.2 1.19.4 1.20 1.20.2 1.20.4 &lt;/p&gt; &lt;p&gt;the initial release of lithosphere!&lt;/p&gt;
        &lt;p&gt;Files:&lt;/p&gt; &lt;p&gt;&lt;a href=&quot;https://cdn.modrinth.com/data/iv9jp2k9/versions/tEfrvtAv/lithosphere%201.0%2024.03.24.zip&quot;&gt;lithosphere 1.0 24.03.24.zip&lt;/a&gt;&lt;/p&gt;</description>
      <link>https://modrinth.com/project/lithosphere/version/1.0</link>
      <guid isPermaLink="false">tEfrvtAv</guid>
      <pubDate>Sun, 24 Mar 2024 19:27:28 GMT</pubDate>
      <author>Jayzet</author>
    </item>
  </channel>
</rss>

@github-actions github-actions bot added the Auto: Route Test Complete Auto route test has finished on given PR label Apr 9, 2024
@TonyRL TonyRL merged commit 88667c2 into DIYgod:master Apr 9, 2024
27 checks passed
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants