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(route): set api key via route query parameter #18326

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

wolfg1969
Copy link
Contributor

Involved Issue / 该 PR 相关 Issue

Close #

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

/instructables/projects?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=
/instructables/projects/circuits?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=
/instructables/projects/workshop?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=
/instructables/projects/craft?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=
/instructables/projects/cooking?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=
/instructables/projects/living?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=
/instructables/projects/outside?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=
/instructables/projects/teachers?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=

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 / 说明

通过 route 的查询参数传递访问目标网站 API 需要的 key,添加 limit 参数。

@github-actions github-actions bot added Route Auto: Route Test Complete Auto route test has finished on given PR labels Feb 11, 2025
Copy link
Contributor

Successfully generated as following:

http://localhost:1200/instructables/projects?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0= - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Instructables Projects</title>
    <link>https://www.instructables.com/projects?projects=all</link>
    <atom:link href="http://localhost:1200/instructables/projects?limit=3&amp;typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=" rel="self" type="application/rss+xml"></atom:link>
    <description>Instructables Projects - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 11 Feb 2025 05:22:35 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>InVision: a Smart Translating Device for Seeing the World in Your Language.</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FTR/IPVE/M6XMYRRJ/FTRIPVEM6XMYRRJ.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/InVision-a-Smart-Translating-Device-for-Seeing-the</link>
      <guid isPermaLink="false">https://www.instructables.com/InVision-a-Smart-Translating-Device-for-Seeing-the</guid>
      <pubDate>Mon, 10 Feb 2025 20:47:40 GMT</pubDate>
      <author>Binary_Flame</author>
      <category>circuits/raspberry-pi</category>
    </item>
    <item>
      <title>Quick &amp; Simple Rose Line Art Embroidery</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FZI/D494/M6XMXL0T/FZID494M6XMXL0T.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Quick-Simple-Rose-Line-Art-Embroidery</link>
      <guid isPermaLink="false">https://www.instructables.com/Quick-Simple-Rose-Line-Art-Embroidery</guid>
      <pubDate>Mon, 10 Feb 2025 20:46:17 GMT</pubDate>
      <author>maywillcox</author>
      <category>craft/embroidery</category>
    </item>
    <item>
      <title>How to Sketch a Face in 30 MINUTES or LESS (FOR BEGINNERS, IN GAME DESIGN)</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FN7/AC6X/M6XMXRVK/FN7AC6XM6XMXRVK.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/How-to-Sketch-a-Face-in-30-MINUTES-or-LESS-FOR-BEG</link>
      <guid isPermaLink="false">https://www.instructables.com/How-to-Sketch-a-Face-in-30-MINUTES-or-LESS-FOR-BEG</guid>
      <pubDate>Mon, 10 Feb 2025 20:45:24 GMT</pubDate>
      <author>ZDN</author>
      <category>craft/art</category>
    </item>
  </channel>
</rss>
http://localhost:1200/instructables/projects/circuits?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0= - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Instructables Projects</title>
    <link>https://www.instructables.com/circuits/projects?projects=all</link>
    <atom:link href="http://localhost:1200/instructables/projects/circuits?limit=3&amp;typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=" rel="self" type="application/rss+xml"></atom:link>
    <description>Instructables Projects - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 11 Feb 2025 05:22:35 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>InVision: a Smart Translating Device for Seeing the World in Your Language.</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FTR/IPVE/M6XMYRRJ/FTRIPVEM6XMYRRJ.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/InVision-a-Smart-Translating-Device-for-Seeing-the</link>
      <guid isPermaLink="false">https://www.instructables.com/InVision-a-Smart-Translating-Device-for-Seeing-the</guid>
      <pubDate>Mon, 10 Feb 2025 20:47:40 GMT</pubDate>
      <author>Binary_Flame</author>
      <category>circuits/raspberry-pi</category>
    </item>
    <item>
      <title>AI Gesture Smart Wand Tutorial</title>
      <description>&lt;img src=&quot;https://content.instructables.com/F3G/Q6SR/M6XMXVQK/F3GQ6SRM6XMXVQK.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/AI-Gesture-Smart-Wand-Tutorial</link>
      <guid isPermaLink="false">https://www.instructables.com/AI-Gesture-Smart-Wand-Tutorial</guid>
      <pubDate>Mon, 10 Feb 2025 20:42:25 GMT</pubDate>
      <author>KittenBot</author>
      <category>circuits/electronics</category>
    </item>
    <item>
      <title>Amsterdam Clock</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FS2/5PG0/M6W7H6HM/FS25PG0M6W7H6HM.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Amsterdam-Clock</link>
      <guid isPermaLink="false">https://www.instructables.com/Amsterdam-Clock</guid>
      <pubDate>Mon, 10 Feb 2025 20:29:33 GMT</pubDate>
      <author>AlenJecob</author>
      <category>circuits/gadgets</category>
    </item>
  </channel>
</rss>
http://localhost:1200/instructables/projects/workshop?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0= - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Instructables Projects</title>
    <link>https://www.instructables.com/workshop/projects?projects=all</link>
    <atom:link href="http://localhost:1200/instructables/projects/workshop?limit=3&amp;typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=" rel="self" type="application/rss+xml"></atom:link>
    <description>Instructables Projects - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 11 Feb 2025 05:22:35 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>3D Printed Jigs for Eccentric Lathe Turning</title>
      <description>&lt;img src=&quot;https://content.instructables.com/F6H/5GE5/M6W7H5CS/F6H5GE5M6W7H5CS.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/3D-Printed-Jigs-for-Eccentric-Lathe-Turning</link>
      <guid isPermaLink="false">https://www.instructables.com/3D-Printed-Jigs-for-Eccentric-Lathe-Turning</guid>
      <pubDate>Mon, 10 Feb 2025 17:09:32 GMT</pubDate>
      <author>rschoenm</author>
      <category>workshop/woodworking</category>
    </item>
    <item>
      <title>Origami Crane With Flapping Wings</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FHX/D8JA/M6RX672V/FHXD8JAM6RX672V.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Origami-Crane-With-Flapping-Wings</link>
      <guid isPermaLink="false">https://www.instructables.com/Origami-Crane-With-Flapping-Wings</guid>
      <pubDate>Sat, 08 Feb 2025 23:42:58 GMT</pubDate>
      <author>SayaNIGHT</author>
      <category>workshop/3d-printing</category>
    </item>
    <item>
      <title>Solar Generator - 7.320 KWh</title>
      <description>&lt;img src=&quot;https://content.instructables.com/F4E/9EJ9/M6US1PTD/F4E9EJ9M6US1PTD.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Solar-Generator-7320-KWh</link>
      <guid isPermaLink="false">https://www.instructables.com/Solar-Generator-7320-KWh</guid>
      <pubDate>Sat, 08 Feb 2025 23:37:06 GMT</pubDate>
      <author>jgschmidt</author>
      <category>workshop/energy</category>
    </item>
  </channel>
</rss>
http://localhost:1200/instructables/projects/craft?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0= - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Instructables Projects</title>
    <link>https://www.instructables.com/craft/projects?projects=all</link>
    <atom:link href="http://localhost:1200/instructables/projects/craft?limit=3&amp;typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=" rel="self" type="application/rss+xml"></atom:link>
    <description>Instructables Projects - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 11 Feb 2025 05:22:36 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>Quick &amp; Simple Rose Line Art Embroidery</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FZI/D494/M6XMXL0T/FZID494M6XMXL0T.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Quick-Simple-Rose-Line-Art-Embroidery</link>
      <guid isPermaLink="false">https://www.instructables.com/Quick-Simple-Rose-Line-Art-Embroidery</guid>
      <pubDate>Mon, 10 Feb 2025 20:46:17 GMT</pubDate>
      <author>maywillcox</author>
      <category>craft/embroidery</category>
    </item>
    <item>
      <title>How to Sketch a Face in 30 MINUTES or LESS (FOR BEGINNERS, IN GAME DESIGN)</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FN7/AC6X/M6XMXRVK/FN7AC6XM6XMXRVK.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/How-to-Sketch-a-Face-in-30-MINUTES-or-LESS-FOR-BEG</link>
      <guid isPermaLink="false">https://www.instructables.com/How-to-Sketch-a-Face-in-30-MINUTES-or-LESS-FOR-BEG</guid>
      <pubDate>Mon, 10 Feb 2025 20:45:24 GMT</pubDate>
      <author>ZDN</author>
      <category>craft/art</category>
    </item>
    <item>
      <title>Desert Themed Mini Cafe!!</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FRL/S93Q/M6XMY74B/FRLS93QM6XMY74B.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Desert-Themed-Mini-Cafe-1</link>
      <guid isPermaLink="false">https://www.instructables.com/Desert-Themed-Mini-Cafe-1</guid>
      <pubDate>Mon, 10 Feb 2025 20:42:50 GMT</pubDate>
      <author>meerafh</author>
      <category>craft/digital-graphics</category>
    </item>
  </channel>
</rss>
http://localhost:1200/instructables/projects/cooking?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0= - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Instructables Projects</title>
    <link>https://www.instructables.com/cooking/projects?projects=all</link>
    <atom:link href="http://localhost:1200/instructables/projects/cooking?limit=3&amp;typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=" rel="self" type="application/rss+xml"></atom:link>
    <description>Instructables Projects - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 11 Feb 2025 05:22:36 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>Baked Fish With Blue Rice and Mushroom Sauce</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FCO/X3A8/M6HX2YKN/FCOX3A8M6HX2YKN.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Baked-Fish-With-Blue-Rice-and-Mushroom-Sauce</link>
      <guid isPermaLink="false">https://www.instructables.com/Baked-Fish-With-Blue-Rice-and-Mushroom-Sauce</guid>
      <pubDate>Mon, 10 Feb 2025 19:56:19 GMT</pubDate>
      <author>Rustickraft</author>
      <category>cooking/main-course</category>
    </item>
    <item>
      <title>Realistic Coconut Cookies</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FDM/2P72/M6XMXIAE/FDM2P72M6XMXIAE.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Realistic-Coconut-Cookies</link>
      <guid isPermaLink="false">https://www.instructables.com/Realistic-Coconut-Cookies</guid>
      <pubDate>Mon, 10 Feb 2025 00:49:53 GMT</pubDate>
      <author>Jeromina</author>
      <category>cooking/cookies</category>
    </item>
    <item>
      <title>How to Make Chicken Milanese and Spaghetti Aglio E Olio With a Side of Caprese Salad</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FIU/7HIV/M6XMXIY2/FIU7HIVM6XMXIY2.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/How-to-Make-Chicken-Milanese-and-Spaghetti-Aglio-E</link>
      <guid isPermaLink="false">https://www.instructables.com/How-to-Make-Chicken-Milanese-and-Spaghetti-Aglio-E</guid>
      <pubDate>Mon, 10 Feb 2025 00:13:10 GMT</pubDate>
      <author>Ella Rose 444</author>
      <category>cooking/main-course</category>
    </item>
  </channel>
</rss>
http://localhost:1200/instructables/projects/living?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0= - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Instructables Projects</title>
    <link>https://www.instructables.com/living/projects?projects=all</link>
    <atom:link href="http://localhost:1200/instructables/projects/living?limit=3&amp;typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=" rel="self" type="application/rss+xml"></atom:link>
    <description>Instructables Projects - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 11 Feb 2025 05:22:36 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>Cable/Cord Winder Print in Place Pucks Stack-able</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FFO/EM8J/M6Z2CO7L/FFOEM8JM6Z2CO7L.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/CableCord-Winder-Print-in-Place-Pucks-Stack-able</link>
      <guid isPermaLink="false">https://www.instructables.com/CableCord-Winder-Print-in-Place-Pucks-Stack-able</guid>
      <pubDate>Mon, 10 Feb 2025 17:37:45 GMT</pubDate>
      <author>Kevr102</author>
      <category>living/organizing</category>
    </item>
    <item>
      <title>Bulk Kitchen Sink Soap Dispenser</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FZY/14AK/KE2TGNKO/FZY14AKKE2TGNKO.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Bulk-Kitchen-Sink-Soap-Dispenser</link>
      <guid isPermaLink="false">https://www.instructables.com/Bulk-Kitchen-Sink-Soap-Dispenser</guid>
      <pubDate>Mon, 10 Feb 2025 00:02:39 GMT</pubDate>
      <author>jtalvy</author>
      <category>living/kitchen</category>
    </item>
    <item>
      <title>How to Make Candles Using Soy Wax</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FEU/HKCG/M6QHPPSN/FEUHKCGM6QHPPSN.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/How-to-Make-Candles-Using-Soy-Wax</link>
      <guid isPermaLink="false">https://www.instructables.com/How-to-Make-Candles-Using-Soy-Wax</guid>
      <pubDate>Tue, 04 Feb 2025 23:47:56 GMT</pubDate>
      <author>ascendk2</author>
      <category>living/decorating</category>
    </item>
  </channel>
</rss>
http://localhost:1200/instructables/projects/outside?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0= - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Instructables Projects</title>
    <link>https://www.instructables.com/outside/projects?projects=all</link>
    <atom:link href="http://localhost:1200/instructables/projects/outside?limit=3&amp;typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=" rel="self" type="application/rss+xml"></atom:link>
    <description>Instructables Projects - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 11 Feb 2025 05:22:37 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>Flat Folding Headlamp Diffuser/lantern</title>
      <description>&lt;img src=&quot;https://content.instructables.com/FOY/IN64/M6US183T/FOYIN64M6US183T.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Flat-Folding-Headlamp-Diffuserlantern</link>
      <guid isPermaLink="false">https://www.instructables.com/Flat-Folding-Headlamp-Diffuserlantern</guid>
      <pubDate>Sat, 08 Feb 2025 23:30:44 GMT</pubDate>
      <author>Xrgella</author>
      <category>outside/camping</category>
    </item>
    <item>
      <title>Tracking Solar Cooker Project 2023 and 2024. Solar Cooked Soil, Mulch, Weed Soup, a New Approach in Gardening!</title>
      <description>&lt;img src=&quot;https://content.instructables.com/F2H/BHDS/M6NMTTYV/F2HBHDSM6NMTTYV.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Tracking-Solar-Cooker-Project-2023-and-2024-Achiev</link>
      <guid isPermaLink="false">https://www.instructables.com/Tracking-Solar-Cooker-Project-2023-and-2024-Achiev</guid>
      <pubDate>Mon, 03 Feb 2025 17:51:28 GMT</pubDate>
      <author>gaiatechnician</author>
      <category>outside/backyard</category>
    </item>
    <item>
      <title>Cretaceous Concrete</title>
      <description>&lt;img src=&quot;https://content.instructables.com/F3G/KVE5/M6NMVPL7/F3GKVE5M6NMVPL7.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Cretaceous-Concrete</link>
      <guid isPermaLink="false">https://www.instructables.com/Cretaceous-Concrete</guid>
      <pubDate>Mon, 03 Feb 2025 17:45:59 GMT</pubDate>
      <author>Rob Salmon</author>
      <category>outside/backyard</category>
    </item>
  </channel>
</rss>
http://localhost:1200/instructables/projects/teachers?limit=3&typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0= - Success ✔️
<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
  <channel>
    <title>Instructables Projects</title>
    <link>https://www.instructables.com/teachers/projects?projects=all</link>
    <atom:link href="http://localhost:1200/instructables/projects/teachers?limit=3&amp;typesenseApiKey=aVRXWEZhelk3RlYway94RVRCUk5kdmhjRzc3VGF6RW1UVVIxSXdvWlh3ST02ZWFYeyJleGNsdWRlX2ZpZWxkcyI6Im91dF9vZixzZWFyY2hfdGltZV9tcyxzdGVwQm9keSIsInBlcl9wYWdlIjo2MH0=" rel="self" type="application/rss+xml"></atom:link>
    <description>Instructables Projects - Powered by RSSHub</description>
    <generator>RSSHub</generator>
    <webMaster>[email protected] (RSSHub)</webMaster>
    <language>en</language>
    <lastBuildDate>Tue, 11 Feb 2025 05:22:37 GMT</lastBuildDate>
    <ttl>5</ttl>
    <item>
      <title>Designing Afrofuturist Playgrounds: Exploring Geometry Through Creative Urban Planning</title>
      <description>&lt;img src=&quot;https://content.instructables.com/F8F/2JEW/M6TCL7BW/F8F2JEWM6TCL7BW.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Designing-Afrofuturist-Playgrounds-Exploring-Geome</link>
      <guid isPermaLink="false">https://www.instructables.com/Designing-Afrofuturist-Playgrounds-Exploring-Geome</guid>
      <pubDate>Fri, 07 Feb 2025 16:07:11 GMT</pubDate>
      <author>ngaskins</author>
      <category>teachers/math</category>
    </item>
    <item>
      <title>Scooter Bot - 3D Printed Vibrating Robot Toy</title>
      <description>&lt;img src=&quot;https://content.instructables.com/F13/TI4H/M6F26O4Q/F13TI4HM6F26O4Q.jpg?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Scooter-Bot-3D-Printed-Vibrating-Robot-Toy</link>
      <guid isPermaLink="false">https://www.instructables.com/Scooter-Bot-3D-Printed-Vibrating-Robot-Toy</guid>
      <pubDate>Tue, 28 Jan 2025 16:23:06 GMT</pubDate>
      <author>nick_the_maker</author>
      <category>circuits/robots</category>
    </item>
    <item>
      <title>Tinkercad Robotics for School: SIMLAB KOMBAT! (virtual Walking Robots Battle)</title>
      <description>&lt;img src=&quot;https://content.instructables.com/F29/A4XV/M6C7B9MU/F29A4XVM6C7B9MU.png?auto=webp&amp;amp;crop=1.2%3A1&amp;amp;frame=1&amp;amp;width=500&quot; width=&quot;500&quot; referrerpolicy=&quot;no-referrer&quot;&gt;</description>
      <link>https://www.instructables.com/Tinkercad-Robotics-for-School-SIMLAB-KOMBAT-virtua</link>
      <guid isPermaLink="false">https://www.instructables.com/Tinkercad-Robotics-for-School-SIMLAB-KOMBAT-virtua</guid>
      <pubDate>Mon, 27 Jan 2025 20:23:33 GMT</pubDate>
      <author>M.C. Langer</author>
      <category>teachers/engineering</category>
    </item>
  </channel>
</rss>

@@ -30,10 +30,11 @@ export const route: Route = {
};

async function handler(ctx) {
const category = ctx.req.param('category') ?? 'all';
const { category = 'all' } = ctx.req.param();
const apiKey = ctx.req.query('typesenseApiKey');
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The value is fixed. Either hardcode it or extract it from #js-page-context instead of manual input.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The api key can be changed at some point then failed this route. That's why I made this patch.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's why I said either hardcode it or extract it from #js-page-context.

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.

2 participants