UNPKG

rsshub

Version:
35 lines (33 loc) 1.07 kB
import "./dist-Bog6z_OM.mjs"; import "./config-MQ-7ebJ_.mjs"; import "./logger-C4avouvV.mjs"; import "./ofetch-DKl_Ma9g.mjs"; import "./parse-date-r5WDWHno.mjs"; import "./timezone-CA9Huotp.mjs"; import { t as common_config_default } from "./common-config-Myib5gYf.mjs"; //#region lib/routes/stratechery/index.ts const route = { path: "/", name: "Unknown", maintainers: ["chazeon"], handler }; async function handler() { const link = "https://stratechery.com/"; return await common_config_default({ link, url: link, title: "Stratechery by Ben Thompson", author: "Ben Thompson", description: "Stratechery provides analysis of the strategy and business side of technology and media, and the impact of technology on society. ", item: { item: "article", title: `$('article > header > h1 > a').text()`, link: `$('article > header > h1 > a').attr('href')`, pubDate: `parseDate($('article .entry-date').attr('datetime'))`, description: `$('article > .entry-content').html().replace(/%/g, '%')` } }); } //#endregion export { route };