diff --git a/lib/middleware/anti-hotlink.test.ts b/lib/middleware/anti-hotlink.test.ts index 4987ceb3f..081aa470a 100644 --- a/lib/middleware/anti-hotlink.test.ts +++ b/lib/middleware/anti-hotlink.test.ts @@ -36,7 +36,7 @@ const expects = { ` `, ], - desc: ' - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)', + desc: ' - Powered by RSSHub', }, processed: { items: [ @@ -54,7 +54,7 @@ const expects = { ` `, ], - desc: ' - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)', + desc: ' - Powered by RSSHub', }, urlencoded: { items: [ @@ -72,7 +72,7 @@ const expects = { ` `, ], - desc: ' - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)', + desc: ' - Powered by RSSHub', }, }, multimedia: { @@ -87,7 +87,7 @@ const expects = { `, ], - desc: ' - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)', + desc: ' - Powered by RSSHub', }, relayed: { items: [ @@ -100,7 +100,7 @@ const expects = { `, ], - desc: ' - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)', + desc: ' - Powered by RSSHub', }, partlyRelayed: { items: [ @@ -113,7 +113,7 @@ const expects = { `, ], - desc: ' - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)', + desc: ' - Powered by RSSHub', }, }, }; diff --git a/lib/views/atom.tsx b/lib/views/atom.tsx index d9ebad6d3..42f5bc2fa 100644 --- a/lib/views/atom.tsx +++ b/lib/views/atom.tsx @@ -6,9 +6,9 @@ const RSS: FC<{ data: Data }> = ({ data }) => ( {data.title || 'RSSHub'} {data.id || data.link} - {data.description || data.title} - Made with love by RSSHub(https://github.com/DIYgod/RSSHub) + {data.description || data.title} - Powered by RSSHub RSSHub - i@diygod.me (DIYgod) + contact@rsshub.app (RSSHub) {data.language || 'en'} {data.lastBuildDate} diff --git a/lib/views/json.ts b/lib/views/json.ts index 20111b8df..e64c10474 100644 --- a/lib/views/json.ts +++ b/lib/views/json.ts @@ -11,7 +11,7 @@ const json = (data: Data) => { title: data.title || 'RSSHub', home_page_url: data.link || 'https://docs.rsshub.app', feed_url: data.feedLink, - description: `${data.description || data.title} - Made with love by RSSHub(https://github.com/DIYgod/RSSHub)`, + description: `${data.description || data.title} - Powered by RSSHub`, icon: data.image, authors: typeof data.author === 'string' ? [{ name: data.author }] : data.author, language: data.language || 'zh-cn', diff --git a/lib/views/rss.tsx b/lib/views/rss.tsx index 78b1888c8..0dc353a91 100644 --- a/lib/views/rss.tsx +++ b/lib/views/rss.tsx @@ -11,9 +11,9 @@ const RSS: FC<{ data: Data }> = ({ data }) => { {data.title || 'RSSHub'} {data.link || 'https://docs.rsshub.app'} - {data.description || data.title} - Made with love by RSSHub(https://github.com/DIYgod/RSSHub) + {data.description || data.title} - Powered by RSSHub RSSHub - i@diygod.me (DIYgod) + contact@rsshub.app (RSSHub) {data.itunes_author && {data.itunes_author}} {data.itunes_category && } {data.itunes_author && {data.itunes_explicit || 'false'}}