This commit is contained in:
parent
4d7da328ae
commit
796bf0e644
|
@ -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'
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue