CXPLAY on Nostr: 看到网友探索出来了一种新的无需 token 就能访问的办法: ...
看到网友探索出来了一种新的无需 token 就能访问的办法:
https://www.xiaohongshu.com/user/profile/<用户ID>/<贴文ID>
实际上这个用户ID也是可选的, 随便用一个路径名只要贴文ID是正确的就行了.
所以现在只需要一条规则就能做到清理参数并网页访问了:
```
||www.xiaohongshu.com/discovery/item^$urltransform=/\/discovery\/item\/([0-9a-z]+).*/\/user\/profile\/u\/$1/
```
但是移动端的 UA 还是会跳首页(或者白屏), 可以在手机浏览器上开桌面模式凑合一下, 暂时无解.
Published at
2024-08-19 09:40:50Event JSON
{
"id": "6cda85c266a663dec03df5c781c0a7d76f3652f254c90ad93e06656edc27b61f",
"pubkey": "434f97993627f1e61f14eeaf60caa8cfdcec10a592caff8250c825252d548c15",
"created_at": 1724060450,
"kind": 1,
"tags": [
[
"e",
"01bb382ba36368ecea98e417c00cef41ac5b62f883395ca618d814048ee193f2",
"wss://relay.damus.io/",
"root"
],
[
"e",
"460740086062bdf2e94c238853a9ab921a1d3650c5b1ce919455268b36c74d31",
"wss://relay.damus.io/",
"reply"
]
],
"content": "看到网友探索出来了一种新的无需 token 就能访问的办法:\nhttps://www.xiaohongshu.com/user/profile/\u003c用户ID\u003e/\u003c贴文ID\u003e\n实际上这个用户ID也是可选的, 随便用一个路径名只要贴文ID是正确的就行了.\n所以现在只需要一条规则就能做到清理参数并网页访问了:\n```\n||www.xiaohongshu.com/discovery/item^$urltransform=/\\/discovery\\/item\\/([0-9a-z]+).*/\\/user\\/profile\\/u\\/$1/\n```\n但是移动端的 UA 还是会跳首页(或者白屏), 可以在手机浏览器上开桌面模式凑合一下, 暂时无解.",
"sig": "8a833ff363170433fb81591a4cd863340abbbd1a6b91aacab2d527968db7394814537f44d8624ac3f5ddbf51beece6700e89a79c824a703c77997acae555493d"
}