This commit is contained in:
Luca 2020-11-14 20:08:27 +01:00
parent 4d7da328ae
commit 796bf0e644
1 changed files with 1 additions and 0 deletions

View File

@ -69,6 +69,7 @@ export default Vue.extend({
console.log('getting local trending') console.log('getting local trending')
ytrend.scrape_trending_page(this.region).then((result) => { ytrend.scrape_trending_page(this.region).then((result) => {
console.log(result)
const returnData = result.filter((item) => { const returnData = result.filter((item) => {
return item.type === 'video' || item.type === 'channel' || item.type === 'playlist' return item.type === 'video' || item.type === 'channel' || item.type === 'playlist'
}) })