sindat / Furcifer

Download Youtube videos as .mp3 .
MIT License
0 stars 0 forks source link

Issues with Request - cannot read property of undefined #12

Closed sindat closed 5 years ago

sindat commented 5 years ago

let videoTitle = jsonObject.body.items[0].snippet.title;

TypeError: Cannot read property '0' of undefined

This is spit out when I run the API server code. Something is wrong with Request, it's not getting through, test it. (the youtube API)

sindat commented 5 years ago

Issue solved, I was calling the whole class twice (forgot to comment out test code in core library)