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

"Transformation - JSON" wrong path #14894

Closed
1 task done
Orokapei opened this issue Mar 21, 2024 · 4 comments
Closed
1 task done

"Transformation - JSON" wrong path #14894

Orokapei opened this issue Mar 21, 2024 · 4 comments
Labels
RSS bug Something isn't working

Comments

@Orokapei
Copy link

路由地址

/rsshub/transform/json/:url/:routeParams

完整路由地址

/rsshub/transform/json/https%3A%2F%2Fapi.github.com%2Frepos%2Fginuerzh%2Fgost%2Freleases/title=title%3DGost%20releases%26itemTitle%3Dtag_name%26itemLink%3Dhtml_url%26itemDesc%3Dbody
/rsshub/transform/json/https%3A%2F%2Fsearch.zongheng.com%2Fsearch%2Fbook%3Fkeyword%3D123/title%3D123%26item%3Dlist%26itemTitle%3Dname%26itemLink%3DbookId%26itemDesc%3Ddescription%26itemPubDate%3DupdateTime

相关文档

https://docs.rsshub.app/zh/routes/other#transformation-json

预期是什么?

生成rss

实际发生了什么?

Error Message:
wrong path

Route: /rsshub/transform/json/https:/api.github.com/repos/ginuerzh/gost/releases/title=title=Gost%20releases&itemTitle=tag_name&itemLink=html_url&itemDesc=body

Full Route: /rsshub/transform/json/https:/api.github.com/repos/ginuerzh/gost/releases/title=title=Gost%20releases&itemTitle=tag_name&itemLink=html_url&itemDesc=body

部署

自建

部署相关信息

Docker Version: v26.0.0-rc2 Node Version: v21.7.1 Git Hash: 8a04b52 Git Date: Wed, 20 Mar 2024 17:04:17 GMT

额外信息

docker env 已设置`ALLOW_USER_SUPPLY_UNSAFE_DOMAIN=true`

这不是重复的 issue

  • 我已经搜索了 现有 issue,以确保该错误尚未被报告。
@Orokapei Orokapei added the RSS bug Something isn't working label Mar 21, 2024
Repository owner deleted a comment from github-actions bot Mar 22, 2024
@TonyRL
Copy link
Collaborator

TonyRL commented Mar 22, 2024

/test

/rsshub/transform/json/https%3A%2F%2Fapi.github.com%2Frepos%2Fginuerzh%2Fgost%2Freleases/title=title%3DGost%20releases%26itemTitle%3Dtag_name%26itemLink%3Dhtml_url%26itemDesc%3Dbody

Copy link
Contributor

Successfully generated as following:

http://localhost:1200/rsshub/transform/json/https%3A%2F%2Fapi.github.com%2Frepos%2Fginuerzh%2Fgost%2Freleases/title=title%3DGost%20releases%26itemTitle%3Dtag_name%26itemLink%3Dhtml_url%26itemDesc%3Dbody - Success ✔️
<?xml version="1.0" encoding="UTF-8"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>title=Gost releases</title><link>https://api.github.com/repos/ginuerzh/gost/releases</link><atom:link href="http://localhost:1200/rsshub/transform/json/https%3A%2F%2Fapi.github.com%2Frepos%2Fginuerzh%2Fgost%2Freleases/title=title%3DGost%20releases%26itemTitle%3Dtag_name%26itemLink%3Dhtml_url%26itemDesc%3Dbody" rel="self" type="application/rss+xml"></atom:link><description>Proxy https://api.github.com/repos/ginuerzh/gost/releases - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)</description><generator>RSSHub</generator><webMaster>i@diygod.me (DIYgod)</webMaster><language>en</language><lastBuildDate>Fri, 22 Mar 2024 01:59:06 GMT</lastBuildDate><ttl>5</ttl><item><title>v2.11.5</title><description>## What&#39;s Changed
* Do not exit the server loop on obfs4 connection errors by @knyar in https://github.com/ginuerzh/gost/pull/901
* parseIP supports IPv6 by @koaiwu in https://github.com/ginuerzh/gost/pull/898
## New Contributors
* @knyar made their first contribution in https://github.com/ginuerzh/gost/pull/901
**Full Changelog**: https://github.com/ginuerzh/gost/compare/v2.11.4...v2.11.5</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.11.5</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.11.5</guid></item><item><title>v2.11.4</title><description>**Full Changelog**: https://github.com/ginuerzh/gost/compare/v2.11.3...v2.11.4</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.11.4</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.11.4</guid></item><item><title>v2.11.3</title><description>## What&#39;s Changed
* 允许绑定出口到指定网卡上 by @IndexDoge in https://github.com/ginuerzh/gost/pull/817
* Compatible with older Go version by @lkebin in https://github.com/ginuerzh/gost/pull/846
* Fix #841 by @P-PPPP in https://github.com/ginuerzh/gost/pull/842
* Wait for the second copy error by @costinm in https://github.com/ginuerzh/gost/pull/861
## New Contributors
* @IndexDoge made their first contribution in https://github.com/ginuerzh/gost/pull/817
* @lkebin made their first contribution in https://github.com/ginuerzh/gost/pull/846
* @P-PPPP made their first contribution in https://github.com/ginuerzh/gost/pull/842
* @costinm made their first contribution in https://github.com/ginuerzh/gost/pull/861
**Full Changelog**: https://github.com/ginuerzh/gost/compare/v2.11.2...v2.11.3</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.11.3</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.11.3</guid></item><item><title>v2.11.2</title><description>## What&#39;s Changed
* Add installation instructions for Homebrew by @moonfruit in https://github.com/ginuerzh/gost/pull/655
* Certificate pinning for servers without domain by @luyuhuang in https://github.com/ginuerzh/gost/pull/641
* Close connection if authentication failed by @mengzhuo in https://github.com/ginuerzh/gost/pull/659
* Fix: relay udp forward by @sleshep in https://github.com/ginuerzh/gost/pull/664
* fix issue https://github.com/ginuerzh/gost/issues/617 by @proxy666-dev in https://github.com/ginuerzh/gost/pull/677
* Add darwin-arm64 for Apple M1 devices by @soffchen in https://github.com/ginuerzh/gost/pull/679
* bump github.com/milosgajdos/tenus to v0.0.3 by @btwiuse in https://github.com/ginuerzh/gost/pull/689
* Add whitelist/blacklist support for relay by @Hubix9 in https://github.com/ginuerzh/gost/pull/698
* fix obfs-tls with shadowsocks aead issue #695 by @cute in https://github.com/ginuerzh/gost/pull/697
* Update dependency ! by @guqing637 in https://github.com/ginuerzh/gost/pull/703
* Update go.mod and go.sum by @guqing637 in https://github.com/ginuerzh/gost/pull/705
* ignore linux error: File exists while add same route twice by @wencaiwulue in https://github.com/ginuerzh/gost/pull/747
* Closes #594 ugprade quic-go==v0.24.0 by @sleshep in https://github.com/ginuerzh/gost/pull/760
* update:update package by @openwrt2223 in https://github.com/ginuerzh/gost/pull/772
* update quick-go dep to support golang-1.18 by @hulb in https://github.com/ginuerzh/gost/pull/804
* Add -M option for Fwmark by @purerosefallen in https://github.com/ginuerzh/gost/pull/746
* surround interface name with double quote in case of name have space by @wencaiwulue in https://github.com/ginuerzh/gost/pull/727
## New Contributors
* @moonfruit made their first contribution in https://github.com/ginuerzh/gost/pull/655
* @luyuhuang made their first contribution in https://github.com/ginuerzh/gost/pull/641
* @mengzhuo made their first contribution in https://github.com/ginuerzh/gost/pull/659
* @proxy666-dev made their first contribution in https://github.com/ginuerzh/gost/pull/677
* @btwiuse made their first contribution in https://github.com/ginuerzh/gost/pull/689
* @Hubix9 made their first contribution in https://github.com/ginuerzh/gost/pull/698
* @cute made their first contribution in https://github.com/ginuerzh/gost/pull/697
* @guqing637 made their first contribution in https://github.com/ginuerzh/gost/pull/703
* @wencaiwulue made their first contribution in https://github.com/ginuerzh/gost/pull/747
* @openwrt2223 made their first contribution in https://github.com/ginuerzh/gost/pull/772
* @hulb made their first contribution in https://github.com/ginuerzh/gost/pull/804
* @purerosefallen made their first contribution in https://github.com/ginuerzh/gost/pull/746
**Full Changelog**: https://github.com/ginuerzh/gost/compare/v2.11.1...v2.11.2</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.11.2</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.11.2</guid></item><item><title>v2.11.1</title><description>Change logs:
* fix issue #520.
* fix compile error.
* support mutual TLS authentication (https://docs.ginuerzh.xyz/gost/tls/#2111).</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.11.1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.11.1</guid></item><item><title>v2.11.0</title><description>Change logs:
* Add obfs-otls transport (https://docs.ginuerzh.xyz/gost/simple-obfs/)
* Add relay protocol (https://docs.ginuerzh.xyz/gost/relay/)
* Add pubkey auth support for ssh (https://docs.ginuerzh.xyz/gost/ssh/)</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.11.0</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.11.0</guid></item><item><title>v2.10.1</title><description>Change logs:
* ss: merge `ss2` into `ss`, `ss2` now is deprecated. (https://docs.ginuerzh.xyz/gost/ss/)
* ss: make the encryption optional.
* dns: add more parameters and edns client subnet support. (https://docs.ginuerzh.xyz/gost/dns/)
* tun: add `ssu` chain node support.
* tun: fix setup command on MacOS.
* udp: fix client auth in UDP relay.</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.10.1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.10.1</guid></item><item><title>v2.10.0</title><description>Change logs:
* DNS resolver supports chain (https://docs.ginuerzh.xyz/gost/resolver/#2100).
* Add DNS proxy server, support protocol conversion and chain (https://docs.ginuerzh.xyz/gost/dns/).
* Shadowsocks UDP relay Improvement (https://docs.ginuerzh.xyz/gost/ss/#udp).
* Add tproxy based UDP transparent proxy (https://docs.ginuerzh.xyz/gost/redirect/#udp-210).</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.10.0</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.10.0</guid></item><item><title>v2.9.2</title><description>Change logs:
* tun: add server side routing (doc: https://docs.ginuerzh.xyz/gost/tuntap/#292).
* tap: make net parameter optional (#472).
* add auth parameter (#467) (doc:  https://docs.ginuerzh.xyz/gost/configuration/#auth-292).</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.9.2</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.9.2</guid></item><item><title>v2.9.1</title><description>Change Logs:
* TUN/TAP: add chain support.
*  KCP: add fake TCP support
* SOCKS5: add `notls` option</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.9.1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.9.1</guid></item><item><title>v2.9.0</title><description>Change logs:
* Add TUN/TAP devices support.
* fix http2 failover.
* add `path` option support for  h2/h2c.</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.9.0</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.9.0</guid></item><item><title>v2.8.2</title><description>Fix issues: #388 #389 #408 #417</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.8.2</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.8.2</guid></item><item><title>v2.8.1</title><description>Change List:
1. fix #181.
2. fix #364.
3. add max_fails &amp;amp; fail_timeout options support for load balancing and port forwarding.
4. add user-agent option for http/http2.</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.8.1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.8.1</guid></item><item><title>v2.8.0</title><description>1. add go-shadowsocks2 support.
2. add knock option for probe resistance.
3. add ip option support for port forward handler.
4. fix bug #279.</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.8.0</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.8.0</guid></item><item><title>v2.7.2</title><description>Changes:
* fix obfs http client
* ws supports user defined url path
* fix peer JSON config parsing</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.7.2</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.7.2</guid></item><item><title>v2.7.1</title><description>Changes:
* Fix issue #342
* Add live reloading support for authentication file.</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.7.1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.7.1</guid></item><item><title>v2.7.0</title><description>New Features:
* DNS resolver now supports DoH.
* Add probing resistance support for HTTP(S)/HTTP2.
* peer config now supports live reloading.
</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.7.0</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.7.0</guid></item><item><title>v2.6.1</title><description></description><link>https://github.com/ginuerzh/gost/releases/tag/v2.6.1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.6.1</guid></item><item><title>v2.6</title><description>New features:
* Routing control
* DNS control
* Live reloading support for configuration files: bypass, resolver, hosts. </description><link>https://github.com/ginuerzh/gost/releases/tag/v2.6</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.6</guid></item><item><title>v2.6-rc1</title><description></description><link>https://github.com/ginuerzh/gost/releases/tag/v2.6-rc1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.6-rc1</guid></item><item><title>v2.5</title><description>New Features:
* [SNI Proxy](https://docs.ginuerzh.xyz/gost/en/sni/)
* [Load Balancing](https://docs.ginuerzh.xyz/gost/en/load-balancing/)
* [Forward Tunnel](https://docs.ginuerzh.xyz/gost/en/port-forwarding/#forward-tunnel)</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.5</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.5</guid></item><item><title>v2.5-rc2</title><description></description><link>https://github.com/ginuerzh/gost/releases/tag/v2.5-rc2</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.5-rc2</guid></item><item><title>v2.5-rc1</title><description></description><link>https://github.com/ginuerzh/gost/releases/tag/v2.5-rc1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.5-rc1</guid></item><item><title>v2.4</title><description></description><link>https://github.com/ginuerzh/gost/releases/tag/v2.4</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.4</guid></item><item><title>v2.4-rc2</title><description>更新内容:
* 修正配置文件失效的问题 bug #129
* 修正TCP透明代理无法使用的问题 bug #131
* 修正HTTP2.0无法多路复用问题
* HTTP客户端支持读取外部认证信息文件 bug #122
* HTTP/Websocket的请求头User-Agent默认值修改为Chrome/60.0.3112.90,并可以通过agent参数设置
* 自动代理模式去除对SOCKS4代理类型的支持</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.4-rc2</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.4-rc2</guid></item><item><title>v2.4-rc1</title><description></description><link>https://github.com/ginuerzh/gost/releases/tag/v2.4-rc1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.4-rc1</guid></item><item><title>v2.4-dev</title><description></description><link>https://github.com/ginuerzh/gost/releases/tag/v2.4-dev</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.4-dev</guid></item><item><title>v2.3</title><description></description><link>https://github.com/ginuerzh/gost/releases/tag/v2.3</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.3</guid></item><item><title>v2.3-rc2</title><description>新增功能:
1. HTTP2客户端支持心跳检测
2. shadowsocks客户端支持OTA
BUG修复:
1. fix issue #65
2. fix issue #66
</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.3-rc2</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.3-rc2</guid></item><item><title>v2.3-rc1</title><description>- 增加对透明代理的支持 #61 。
- 优化UDP本地端口转发,针对每个客户端可以持续性进行UDP数据交互 #62 。
- HTTP/SOCKS5代理支持多组认证信息 #57 。
已知BUG:
UDP本地端口转发,当代理链的末端使用HTTP2时,转发存在问题。
</description><link>https://github.com/ginuerzh/gost/releases/tag/v2.3-rc1</link><guid isPermaLink="false">https://github.com/ginuerzh/gost/releases/tag/v2.3-rc1</guid></item></channel></rss>

@TonyRL
Copy link
Collaborator

TonyRL commented Mar 22, 2024

It works.

@TonyRL TonyRL closed this as completed Mar 22, 2024
@Orokapei
Copy link
Author

找到问题了 = = nginx反代的时候自动decode了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RSS bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants