mirror of
https://github.com/DIYgod/RSSHub.git
synced 2026-09-24 23:12:34 +08:00
fix: route appstore/update platform detection (#2411)
This commit is contained in:
@@ -13,7 +13,7 @@ module.exports = async (ctx) => {
|
||||
titleTags.find('span').remove();
|
||||
const platform = $('.we-localnav__title__product').text();
|
||||
|
||||
const title = `${titleTags.text().trim()} for ${platform === 'App Store' ? 'iOS' : 'macOS'} ${country === 'cn' ? '更新' : 'Update'} `;
|
||||
const title = `${titleTags.text().trim()} for ${platform === 'App\u00A0Store' ? 'iOS' : 'macOS'} ${country === 'cn' ? '更新' : 'Update'} `;
|
||||
|
||||
const item = {};
|
||||
$('.whats-new').each(function() {
|
||||
|
||||
Reference in New Issue
Block a user