HatScripts / youtube-auto-liker

A userscript that automatically likes 👍 each video you watch on YouTube ▶️
68 stars 15 forks source link

Stopped working #18

Closed GroovyDrifter closed 1 year ago

GroovyDrifter commented 2 years ago

I use it on Tampermonkey 4.16.1 over Chrome 105.0.5195.125 running macos Monterey 12.6. Videos run to the end and no auto liking is done.

NoahBK commented 2 years ago

Same boat here. 4.16.1 Tampermonkey. Brave on version 105.0.5195.127.

HatScripts commented 2 years ago

Thanks for letting me know. This issue should now be fixed: https://github.com/HatScripts/youtube-auto-liker/commit/f32c224384bf5a8f72e5987f55d5a81cc7e9519d

kas-cor commented 2 years ago

@version 1.3.9

YouTube Auto-Liker: Checking whether subscribed... YouTube Auto-Liker: We are subscribed YouTube Auto-Liker: Trying to like video... YouTube Auto-Liker: Failed to like video: Error: Couldn't find like button. Will try again in 5000 ms... YouTube Auto-Liker: Checking whether subscribed... YouTube Auto-Liker: We are subscribed YouTube Auto-Liker: Trying to like video... Failed to like video: Error: Couldn't find like button. Will try again in 5000 ms...

HatScripts commented 2 years ago

@kas-cor Should now be working with old and new YouTube like button. v1.3.10 - https://github.com/HatScripts/youtube-auto-liker/commit/6adfb000b0d8f2b9e5451afd04fa56bb6027d685

GroovyDrifter commented 2 years ago

@Version 1.3.9

YouTube Auto-Liker: Checking whether subscribed... YouTube Auto-Liker: We are subscribed YouTube Auto-Liker: Trying to like video... YouTube Auto-Liker: Failed to like video: Error: Couldn't find like button. Will try again in 5000 ms... YouTube Auto-Liker: Checking whether subscribed... YouTube Auto-Liker: We are subscribed YouTube Auto-Liker: Trying to like video... Failed to like video: Error: Couldn't find like button. Will try again in 5000 ms...

Can I activate somehow this output in tampermonkey to check why it is still not working for me? I'm checking it at work with a completely different setup than in home.

NoahBK commented 2 years ago

I am still having issues with it. It is not liking the video regardless of me being subscribed or not. And regardless of me changing the watch time duration or not.

29039 commented 2 years ago

I reinstalled it but still not working

HatScripts commented 2 years ago

The issue seems to be that the debugger had stopped working and was throwing an exception. I've updated the code and it should be working now.

v1.3.11 - https://github.com/HatScripts/youtube-auto-liker/commit/1efb17d8951d3f5a0d5ad50502a4ee9bc33ba05d

GroovyDrifter commented 2 years ago

Weird enough, it looks like it works but it does not, it actually likes the video but then next time it checks it is not liked. May youtube be checking something when the like button is clicked to avoid this to work?

YouTube Auto-Liker: Checking whether subscribed... Liker: We are subscribed Liker: Trying to like video... Liker: Found like button Liker: It's unclicked. Clicking it... Liker: Successfully liked video Liker: Checking whether subscribed... Liker: We are subscribed Liker: Trying to like video... Liker: Video has already been auto-liked. User must have un-liked it, so we won't like it again Liker: Checking whether subscribed... Liker: We are subscribed Liker: Trying to like video... Liker: Video has already been auto-liked. User must have un-liked it, so we won't like it again Liker: Checking whether subscribed... Liker: We are subscribed Liker: Trying to like video... Liker: Video has already been auto-liked. User must have un-liked it, so we won't like it again (...)

HatScripts commented 2 years ago

@GroovyDrifter Thanks, fixed. v1.3.12 - https://github.com/HatScripts/youtube-auto-liker/commit/ea66a750ef71e4024c2ebcc6e3cefad2b81c1c2e

NoahBK commented 2 years ago

Installed v1.3.12 and still not working. I can attach a debug log if I need to as @GroovyDrifter did earlier if it helps you. Thank you for working on the script and fixing issues stopping it from working.

HatScripts commented 2 years ago

@NoahBK A debug log would be appreciated and helpful. Thanks.

NoahBK commented 2 years ago

@HatScripts No problem at all. Thank you for working to keep it updated!

userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.02/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.03/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.06/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.09/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.11/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.14/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.17/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.20/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.22/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.27/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.33/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.38/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.44/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.49/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.55/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.60/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.66/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:958 YouTube Auto-Liker: Waiting until watch threshold reached (0.71/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1005 YouTube Auto-Liker: Trying to like video... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1026 YouTube Auto-Liker: Found like button userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1030 YouTube Auto-Liker: It's unclicked. Clicking it... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1033 YouTube Auto-Liker: Successfully liked video userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1005 YouTube Auto-Liker: Trying to like video... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1023 YouTube Auto-Liker: Video has already been auto-liked. User must have un-liked it, so we won't like it again

This is the video I was watching if that helps

And I have tried this with completely default settings. 75% watch duration/like if not subscribed (that's what I used when it worked for me) and combinations in-between. Nothing seems to make it work for me. It says that it is liking the video, but it doesn't.

HatScripts commented 2 years ago

@NoahBK Could you tell me the following information?

NoahBK commented 2 years ago

@HatScripts For sure!

HatScripts commented 2 years ago

@NoahBK Thanks. Could you please try again with the latest version v1.3.19?

NoahBK commented 2 years ago

@HatScripts I have since updated to v1.3.19 and still no dice. Same issue as before. The script now continues to keep liking the video, but it never actually likes it. I appreciate you trying to fix the issue, but I also understand that it may just be something I have done differently or another extension interfering with it.

Log: userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:952 YouTube Auto-Liker: Waiting until watch threshold reached (0.00/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:952 YouTube Auto-Liker: Waiting until watch threshold reached (0.07/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:952 YouTube Auto-Liker: Waiting until watch threshold reached (0.17/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:952 YouTube Auto-Liker: Waiting until watch threshold reached (0.28/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:952 YouTube Auto-Liker: Waiting until watch threshold reached (0.39/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:952 YouTube Auto-Liker: Waiting until watch threshold reached (0.50/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:952 YouTube Auto-Liker: Waiting until watch threshold reached (0.60/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:952 YouTube Auto-Liker: Waiting until watch threshold reached (0.71/0.75)... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:988 YouTube Auto-Liker: Trying to like video... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1007 YouTube Auto-Liker: Found like button. It's unclicked. Clicking it... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1013 YouTube Auto-Liker: Failed to like video userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:988 YouTube Auto-Liker: Trying to like video... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1007 YouTube Auto-Liker: Found like button. It's unclicked. Clicking it... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1013 YouTube Auto-Liker: Failed to like video userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:988 YouTube Auto-Liker: Trying to like video... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1007 YouTube Auto-Liker: Found like button. It's unclicked. Clicking it... userscript.html?name=YouTube%2520Auto-Liker.user.js&id=1019710a-0ee6-4007-94ee-db585e26c3a2:1013 YouTube Auto-Liker: Failed to like video

EDIT: After re-installing the userscript and YouTube releasing their new update today, the userscript is now working for me. Videos are correctly being liked now. Not sure what changed, but the userscript does work once again for me.