Closed shneeba closed 4 years ago
Interesting, yeah the latest change was just to get it working again quickly. Might need to use some more .get() calls to address the missing data fields, but that will be frustrating to use if the data is only there some of the time.
We're at the mercy of what youtube sends to the browser, so inconsistency is the price we pay for not using the API haha. I might try and run some tests to see if it's worth sending multiple requests off until all the data fields are filled - it currently does that to make sure the javascript object is present but that can be extended if there isn't a huge performance hit.
Thanks so much for the quick response, was starting to go a little crazy trying to get this to work and not done much with python before.
Yeah I completely understand we're at the mercy of what's sent to the browser and thanks again for this little tool. I'll try and work my way around it for now.
I have the same issue whenever I search for, e.g, Eastside, or Kinda Crazy.
I have the same issue here, would recommend using dict.get("key", fallback-value), to avoid these errors.
Thank you @araa47 ! Closing this issue
Hi guys,
Really hate to be posting here as it's probably a config I've got somewhere, but I can't for the life of me get this working to return any data on a search term properly, it seems almost random and I can't think of why it's doing this.
Again, sorry to post here but I'm properly stumped.
Cheers