-
Notifications
You must be signed in to change notification settings - Fork 157
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Additional source and playlist collection fix #174
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your findings :)
Would be nice to add a test that it properly parses output with the |
Co-authored-by: Tomas Norkūnas <norkunas.tom@gmail.com>
Need to check how tests are implemented for your system. Is it has some prepared URL? |
Co-authored-by: Tomas Norkūnas <norkunas.tom@gmail.com>
No, it does not do real requests, only tests how it works with the stream output |
@norkunas Fixed regex. PS. I would recommend you add a regex container, from which all regexes could be tested. It will help to cover more supported platforms without huge regex complexity. If you worrying about performance, maybe you can add a function flag ("useMultiplePlatformRegex", by default false). |
@Mrlaminat I'm not against it, but currently regexes are simple enough not to introduce your suggested regex container. We'll see in future if it become hard to maintain then it probably will be time for that. |
Also I'm curious which source adds the |
It was just suggestion for the future, right now is good enough! I just fixed code to pass already existed tests, from my local env I even can't run them with xDebug so it's difficult to find how to create a new one. LIke for me it works perfect, and it's not broke usuall youtube flow, so looks like we are okay :) |
just run with XDEBUG_MODE=off :) |
Oh, and why do you need to run with it ? :D |
Ok then if you'd like for me to add the test, could you run the lib in debug mode and give me all output it prints? |
Why you have closed this? |
@norkunas changed my mind. Sorry for the confusion and thank you |
Just not to bother you, open and I'll merge as is 🙇 |
Thank you! |
Man, that's a Great project, thank you for developing and maintaining it! |
No description provided.