Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
I'm having a rather strange issue that I can't figure out. I've been using youtube-dl on my discord bot for months now and have had no issues but all of a sudden if I try and search for a video using a search query it'll download the video but then say "WARNING:root:NoneType: None" and I'm not able to play it. However, if I use a URL instead it works fine. I can't understand what's happening here as I used to be able to use search query's with no problem. I'm on the latest version and have tried multiple previous versions to no avail.
Here's the code I have for my discord bot if anyone is interested.