Files
RSSHub/lib/v2/amazon/radar.js
T
Evan 75901af00b feat(route): kindle software updates (#12041)
* feat(route): kindle software updates

* Update lib/v2/kindle/radar.js

* Update lib/v2/kindle/radar.js

* fix: kindle route config

* chore(route): change path to amazon

* fix: typo

---------
2023-03-06 23:51:12 +02:00

19 lines
589 B
JavaScript

module.exports = {
'amazon.com': {
_name: 'Amazon',
'.': [
{
title: 'Kindle 软件更新',
docs: 'https://docs.rsshub.app/program-update.html#amazon',
source: ['/gp/help/customer/display.html'],
target: (_, url) => {
const nodeId = new URL(url).searchParams.get('nodeId');
if (nodeId === 'GKMQC26VQQMM8XSW') {
return '/amazon/kindle/software-updates';
}
},
},
],
},
};