From 0cc88642b022daa52ced3e76413b41685bf14ae7 Mon Sep 17 00:00:00 2001 From: Luca Hohmann <34301369+GilgusMaximus@users.noreply.github.com> Date: Tue, 18 May 2021 20:59:23 +0200 Subject: [PATCH] Fixed old trending page api call (#1297) --- src/renderer/views/Trending/Trending.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/renderer/views/Trending/Trending.js b/src/renderer/views/Trending/Trending.js index 8f3ada13..9a84bbf6 100644 --- a/src/renderer/views/Trending/Trending.js +++ b/src/renderer/views/Trending/Trending.js @@ -68,7 +68,13 @@ export default Vue.extend({ this.isLoading = true console.log('getting local trending') - ytrend.scrape_trending_page(this.region).then((result) => { + const param = { + parseCreatorOnRise: false, + page: 'default', + geoLocation: this.region + } + + ytrend.scrape_trending_page(param).then((result) => { const returnData = result.filter((item) => { return item.type === 'video' || item.type === 'channel' || item.type === 'playlist' })