Files
RSSHub/lib/v2/zagg/radar.js
T
Evan bbac98491f feat(route): zagg new arrivals (#12059)
* feat(route): zagg new arrivals

* Update docs/en/shopping.md

Co-authored-by: Tony <TonyRL@users.noreply.github.com>

* chore: use web api instead

* chore: use query instead of params

* fix: type

* fix: link

* Update lib/v2/zagg/new-arrivals.js
---------
2023-03-10 05:46:49 +08:00

17 lines
476 B
JavaScript

module.exports = {
'zagg.com': {
_name: 'New Arrivals',
'.': [
{
title: 'Zagg - New Arrivals',
docs: 'https://docs.rsshub.app/shopping.html#zagg',
source: ['/en_us/new-arrivals'],
target: (_, url) => {
const queryString = url.split('?')[1];
return `/zagg/new-arrivals/${queryString}`;
},
},
],
},
};