Skip to content
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

Add ViewCount to VideoSearchResult #832

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Add ViewCount to VideoSearchResult #832

wants to merge 6 commits into from

Conversation

kcrg
Copy link
Contributor

@kcrg kcrg commented Oct 20, 2024

Hey there!

I know that in issue #515 you mentioned not wanting non-deterministic properties in the library, but I thought maybe today you'd be in a better mood and might press that merge button! If still no, feel free to close this.

Also, just to mention, the ViewCount property isn't non-deterministic - we can extract the exact number of views, well kind of exact, propably due to how youtube cache it. See image below.

Screenshot 2024-10-20 052510

I couldn't sleep if I didn't at least try because these properties would be really useful to me. 👉🏻👈🏻

Hope you'll consider it!

Fuck russia.

@Tyrrrz
Copy link
Owner

Tyrrrz commented Oct 26, 2024

Hi.

The view count is probably fine to add since it should be pretty accurate, but I'm still not in the mood to add a vague "2 years ago" date field 😁

@Tyrrrz Tyrrrz changed the title Add ViewCount and SimpleUploadDate to VideoSearchResult Add ViewCount and SimpleUploadDate to VideoSearchResult Oct 26, 2024
@kcrg
Copy link
Contributor Author

kcrg commented Oct 26, 2024

Ok, I'll remove SimpleUploadDate later today from pull request, thanks!

@kcrg kcrg marked this pull request as draft October 26, 2024 12:38
@kcrg kcrg marked this pull request as ready for review October 26, 2024 19:55
@kcrg
Copy link
Contributor Author

kcrg commented Oct 26, 2024

Jobs done. SimpleUploadDate removed, ready for action review.

@Tyrrrz Tyrrrz changed the title Add ViewCount and SimpleUploadDate to VideoSearchResult Add ViewCount to VideoSearchResult Oct 27, 2024
@Tyrrrz
Copy link
Owner

Tyrrrz commented Oct 27, 2024

Jobs done

How it sounded in my head:

image

😁

Thank you, I will take a look a bit later

@Tyrrrz
Copy link
Owner

Tyrrrz commented Oct 28, 2024

Ugh, I just realized that ViewCount is normally embedded inside Engagement in Video. Is there any way we can also get likes/dislikes for search results too?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants