-
Notifications
You must be signed in to change notification settings - Fork 216
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
Views and duration are incorrectly parsed when searching for a video. #149
Comments
Unfortunately I cannot reproduce this. Can you show a screenshot of the Web UI where this song is different from the others? Was it a time-limited thing, since you mentioned premiere? |
I think that a premiere video is a planned video with a countdown and a livechat, during the video Screenshot of the video (it's in Dutch, but it should also show in other languages): |
Sorry if I wasn't clear, I meant the YouTube Music search page, not actual YouTube page. I found the title you mentioned now, it seems to be missing duration, which is unusual. |
Ah sorry, my bad. I wasn't aware that Youtube Music has a different Web interface. |
Today, after I pulled the newest version from master, I tried some new songs, and now I the view count is incorrectly parsed for another song
The song on Youtube Music: https://music.youtube.com/watch?v=4mUJaWqWb_k&list=RDAMVM4mUJaWqWb_k |
Apologies, I didn't consider the multiple artist case. I have tested both search terms you mentioned locally. Can you retry with latest master and some different search terms? |
Thanks for your incredible fast responses. That song is now working. But unfortunately I found another song that doesn't work properly: Namely when I search for
YT Music link: https://music.youtube.com/watch?v=nFQ4kGbIJa0&list=RDAMVMnFQ4kGbIJa0 |
Ah yes, the tricky edge case where no artists have IDs. Already fixed it for song search, should have seen it coming. I also considered the case with no artist IDs and no duration, even thought I haven't seen it yet. I hope we've covered it all now. |
When I now search for a song with no song duration found, it returns I think that was everything. Thanks for your help 👍 |
Environment
**System OS: Linux
**Python Version: 3.9.1
installed from master: cb1f58d
Steps to Reproduce
print(results)
When I get the details of the video through youtube.get_song('wXrZOFRikOY') it correctly returns '... viewCount': '6707', 'author': 'Julie Dowd', ...
Output
Other information
The problem is probably that the video is a "premiere" video
It looks like the get_item_text on parsers/browsing.py:74 takes the wrong columns
The text was updated successfully, but these errors were encountered: