mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-10-28 03:28:35 +08:00
fix(radar): fix weibo uid
This commit is contained in:
@@ -57,7 +57,7 @@
|
||||
docs: 'https://docs.rsshub.app/social-media.html#%E5%BE%AE%E5%8D%9A',
|
||||
source: ['/u/:id', '/:id'],
|
||||
target: '/weibo/user/:uid',
|
||||
script: "({uid: document.querySelector('head').innerHTML.match(/\\$CONFIG\\['uid']='(\\d+)'/)[1]})",
|
||||
script: "({uid: document.querySelector('head').innerHTML.match(/\\$CONFIG\\['oid']='(\\d+)'/)[1]})",
|
||||
verification: (params) => params.uid,
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user