Closed programmer1o1 closed 3 months ago
The extension works for me now.
you're lucky, I just tried Firefox standard, nightly and dev edition and none of them work with YCS. Maybe you should save your cookies or never close that browser lol
i believe we should wait for @programmer1o1 's version of YCS
Hey guys, why don't you just use the chrome extension "YouTube Comment Reader". It works. Loads all comments of a YT vid (without API key). Presents them in spreadsheet format with sort & filter functions. Supports navigation through comments & responses via arrow keys etc.
Hey guys, why don't you just use the chrome extension "YouTube Comment Reader". It works. Loads all comments of a YT vid (without API key). Presents them in spreadsheet format with sort & filter functions. Supports navigation through comments & responses via arrow keys etc.
Because there are a lot of guys, who don't like to use Chrome - for various reasons... π
Hey guys, why don't you just use the chrome extension "YouTube Comment Reader". It works. Loads all comments of a YT vid (without API key). Presents them in spreadsheet format with sort & filter functions. Supports navigation through comments & responses via arrow keys etc.
Because there are a lot of guys, who don't like to use Chrome - for various reasons... π
But chrome extensions run on every chromium based browsers like Opera, Brave, Edge etc. And btw "YouTube Comment Reader" is also available as a firefox add-on.
FWIW I found this extension useful for searching for comments with timestamps while still showing the timestamper's name and without fancy mucking about with the video's progress bar. I haven't found another extension with this functionality yet.
I've created a fixed version of YCS here: https://github.com/pc035860/YCS-cont
I don't have prior experience using the comment searching functionality. If you notice any behavior that differs from before, please let me know.
I'm unsure if it's appropriate, or if I need to include any specific mentions or information in the repository. Any suggestions are welcome.
I've created a fixed version of YCS here: https://github.com/pc035860/YCS-cont
I don't have prior experience using the comment searching functionality. If you notice any behavior that differs from before, please let me know.
I'm unsure if it's appropriate, or if I need to include any specific mentions or information in the repository. Any suggestions are welcome.
Thanks! It works fine on my end.
@pc035860 This works great! Thanks so much. I was wondering if it's possible to load the transcript as well. For me, the video transcript doesn't load, and I often find it really helpful for searching within the content.
Thanks a lot. Great thing.π It works so far, but I get the YCS only shown after clicking the AddOn's icon in the Toolbar of Firefox. Maybe this is due to some active other extensions? (I don't really believe that) Do you other guys the same behavior?
Thatβs some great effort you put into that, but still so many undiscovered parts of the code base. Could be a start off some great open source extension! Will try to look into it when I can. But it works great! Kudos to you
Thanks a lot. Great thing.π It works so far, but I get the YCS only shown after clicking the AddOn's icon in the Toolbar of Firefox. Maybe this is due to some active other extensions? (I don't really believe that) Do you other guys the same behavior?
ah finally, clicking on the toolbar icon loads the search interface, I was wondering how it was working for everyone else
I've created a fixed version of YCS here: https://github.com/pc035860/YCS-cont
I don't have prior experience using the comment searching functionality. If you notice any behavior that differs from before, please let me know.
I'm unsure if it's appropriate, or if I need to include any specific mentions or information in the repository. Any suggestions are welcome.
Shockin' A, man
Thanks a lot. Great thing.π It works so far, but I get the YCS only shown after clicking the AddOn's icon in the Toolbar of Firefox. Maybe this is due to some active other extensions? (I don't really believe that) Do you other guys the same behavior?
I suspect this issue might be related to Firefox permissions for the extension and domain interaction. By default, it only allows content scripts to run when you click on the toolbar icon.
Choose Always Allow on www.youtube.com
to enable automatic loading.
Choose
Always Allow on www.youtube.com
to enable automatic loading.
PERFECT! Many thanks for this hint! π I've never needed to use this function and was not aware of it. It's all perfect now.
I really didn't think it'd actually work, but I have a working Chrome version of YCS. Using @pc035860's YCS Firefox source files, I asked GPT to convert them to Chrome. After testing, it works... for the most part:
setTimeout(function(){loadChat.click()}, 1000);
in wresources.js
, which autoloads comments (please remove if unwanted)Hi. Thanks @pc035860 for making the extension. It works great for the most part. That being said, I say "most part" because it seems like the extension doesn't properly sort comments with more than 1000 likes? When sorted, the highest sorted likes are in the hundreds, even when there are comments with thousands of likes. Is it because YT represents comments with thousands of likes as "k" (e.g. 1100 likes = 1.1k, 25000 = 25k, etc.)?
@DLSUliogarcia: The most minimum what we can do to assist the maintainer of the code and make it as easy as possible for him to reproduce the error is by providing the minimum needed information for reproduction. May I ask you to provide a link to the respective video? (because, I think, I have never seen/watched a video where there are single comments with more than 1k likes at all...) Thx! π
It's not just one video I've encountered this on. So far, I've encountered the issue on several videos with many comments that have more than 1000 likes. Well, here's a popular song on YT, with around 2400 comments and quite a few of them have more than 1000 likes. YT Link: https://www.youtube.com/watch?v=lYBUbBu4W08
If you look at the comments section without the extension, several top comments have several thousands of likes (represented by 'k'). However, when clicking on the extension's option to sort by likes, comments with only a few hundreds of likes are shown at the top, instead of the comments with 1000s of likes. Even with either option selected for "Extended Search", the extension doesn't seem to sort the comments with 1000s of likes. I think it's because the extension doesn't recognize 'k' as representing 1000?
Again, the extension so far works great, this is just a minor issue I've noticed.
ok, it seems I've been confused about a few things:
on a sidenote, something I noticed while looking at the source code was that the original author, Eugene Gubar, has obfuscated the use of his YouTube API key. It's easy enough to plainly see it in the Developer Tools 'Network' panel, but in the long run I'm concerned Eugene may disable his key if he's charged significant money for API usage. So, if it all possible, I'd like to know if there might potentially be a way to enter our own YouTube API key for YCS.
earlier, I saw people talking about the 'YCS .xpi Firefox version', I believed a Chrome version didn't exist because I distinctly remember someone asking about it and the response was like "no Chrome for now, only Firefox"
In the latest release, 1.2.3, I've packaged a .crx
file for Chrome users.
on a sidenote, something I noticed while looking at the source code was that the original author, Eugene Gubar, has obfuscated the use of his YouTube API key. It's easy enough to plainly see it in the Developer Tools 'Network' panel, but in the long run I'm concerned Eugene may disable his key if he's charged significant money for API usage. So, if it all possible, I'd like to know if there might potentially be a way to enter our own YouTube API key for YCS.
The original extension uses the so-called "innertube" API, a private API utilized by the YouTube website that doesn't require an API key from Google Cloud.
Pros:
Cons:
In the long term, allowing users to add a custom API key could be a more stable option for fetching comments. However, the official YouTube data API does not support fetching chat replay and transcript, so we would need to update the extension periodically if YouTube updates the usage of the innertube API.
you shouldn't use YCS anyway, you are vulnerable to XSS because the developer didn't sanitize the comments so it has always been very dangerous to use anyway.
i believe we should wait for @programmer1o1 's version of YCS
@xNasuni could you elaborate on that please? What does this all mean, and is @pc035860 's version safe from this?
you shouldn't use YCS anyway, you are vulnerable to XSS because the developer didn't sanitize the comments so it has always been very dangerous to use anyway.
i believe we should wait for @programmer1o1 's version of YCS
@xNasuni could you elaborate on that please? What does this all mean, and is @pc035860 's version safe from this?
Yes, he fixed it: https://github.com/pc035860/YCS-cont/pull/2
Thanks @NewsGuyTor
still not working in chromium browsers. freshly installed from chrome web store
Hello everyone. YCS extension was made by me for personal use later I just added it to the chrome web store. Later I lost access to the account and I did not have time to work on this extension. I posted the source code. ( https://github.com/sonigy/YCS/tree/ycs_source_code )
At the moment, access is fully restored. If anyone wants to make a fork or add fix here. I can post a community-fix version of the github in the chrome web store. Good luck.
Clicking "reload" on the comments doesn't load the comments anymore or just loading doesn't work anymore. Please fix it. Thanks you so much.