-
Notifications
You must be signed in to change notification settings - Fork 48
I made the code compatible with the latest data return #88
I made the code compatible with the latest data return #88
Conversation
Some things still need to be tested throughout. But it works for my app and I think this could be a good starting point to make the library work again.
This pull request introduces 2 alerts when merging b4971ac into 63716c5 - view on LGTM.com new alerts:
|
I see there are some problems with the linter, could someone please fix them? |
This pull request introduces 1 alert when merging 4012769 into 63716c5 - view on LGTM.com new alerts:
|
thanks for helping them fix it. for me it isn't working :
i downloaded your fix with i got 2 different error with 2 differents playlists. with this playlist : https://www.youtube.com/playlist?list=PL2788304DC59DBEB4
and with this playlist : https://www.youtube.com/playlist?list=PLnYA0n5BTNscRlnFBkNGJrCyKdOqGtID9
thanks you. have a goodnight |
Fixed a bug that prevented the correct parsing of some JSON objects. Added a try-catch in the removeHtml function.
Thank you for your feedback and patience, @mirsella! |
This pull request introduces 1 alert when merging 0906021 into 63716c5 - view on LGTM.com new alerts:
|
This pull request introduces 1 alert when merging 4a9ec78 into 63716c5 - view on LGTM.com new alerts:
|
work for me 👍 |
Thank you for your fix Unfortunately I'm getting an error
I think it has something to do with obtaining the playlist/track duration, thank you. |
Can I see the error message, please? |
I tried it again with different playlists and the error seems to occur only when there're private/removed videos in the playlist. If not then it seems to be working fine, thank you. |
If you still have the log of the previous error, please send it over :) I'd love to give it a look! |
I'm testing it with my bot using this function
I'm getting the error while trying with this playlist, or any playlist with at least one private/removed video actually: https://www.youtube.com/playlist?list=PLpt61bADOMwXIZpLr09sCNeocN7CXjcoS The only thing that it logged is the error
This playlist is working without the error: https://www.youtube.com/playlist?list=PL4o29bINVT4EG_y-k5jGoOu3-Am8Nvi10 I'm pretty certain that the error is originated from trying to obtain the info of the private video, thank you |
@dealoux it should be fine now :) |
This pull request introduces 1 alert when merging e088e06 into 63716c5 - view on LGTM.com new alerts:
|
Thank you @dbrn for your fix, I tested it with the mentioned function and there's still an error with any playlist with more than 100 videos or requires more than a page. Playlists with less than 100 videos or within the 1st page are working correctly. From what I know the Youtube returns the playlist in pages at 100 videos each, hence I think it has to do with the way the playlist pages are obtained rather than your fix being the problem. It's working correctly with these two playlists These two playlist result in the error
I really appreciate your efforts 👍 |
Thank you @dealoux! |
It was preventing to correctly show some files that didn't feature a short description
Now the lib shouldn't crash anymore. |
This pull request introduces 1 alert when merging 070d9cb into 63716c5 - view on LGTM.com new alerts:
|
Thank you @dbrn, it works for me now. |
added another wip-branch and changed the merge target Edit: the linter failing is no problem since tests will crash anyway |
This pull request introduces 1 alert when merging 070d9cb into 15ef16c - view on LGTM.com new alerts:
|
Thank you. |
This pull request introduces 1 alert when merging b5d31c2 into 15ef16c - view on LGTM.com new alerts:
|
😉 watch out with using linters |
This pull request introduces 1 alert when merging c937c4f into 15ef16c - view on LGTM.com new alerts:
|
Thank you 😅 |
Some things still need to be tested throughout. But it works for my app and I think this could be a good starting point to make the library work again.