HatScripts / youtube-auto-liker

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

Script can't detect being subscribed anymore. #5

Closed Eisys closed 3 years ago

Eisys commented 3 years ago

This started today.

If I set "LIKE_IF_NOT_SUBSCRIBED" to true, then it works and likes the video. When it's false, as I normally use it, it doesn't like videos from channels I'm subbed to anymore.

Windows 10 latest Chrome Beta Version 90.0.4430.61 (Official Build) beta (64-bit) Tampermonkey 4.12

diggtrap commented 3 years ago

Can confirm it stopped working as OP stated.

Replicated the "LIKE_IF_NOT_SUBSCRIBED" change and it worked. Either google or youtube changed something impeding that to work.

Gigafrost commented 3 years ago

I have the same issue. Subbed channels no longer work and it no longer likes the videos.

Eisys commented 3 years ago

I have found a fix until HatScripts fixes it himself.

Line 54 in the script, change "paper-button" to "tp-yt-paper-button" w/o quot. marks.

Like this: Before

After

Credit for the fix goes to "good-praxis" on Greasyfork.

Gigafrost commented 3 years ago

I have found a fix until HatScripts fixes it himself.

Line 54 in the script, change "paper-button" to "tp-yt-paper-button" w/o quot. marks.

Like this: Before

After

Credit for the fix goes to "good-praxis" on Greasyfork.

Can confirm that this workaround fixes the issue (at the time of writing). Not sure if it will continue to work, but Eisys'/good-praxis' solution fixed my issue PERFECTLY!

sonst-was commented 3 years ago

Someone already created a pull request (what I just wanted to do) for exactly this: https://github.com/HatScripts/youtube-auto-liker/pull/4

Hasn't been accepted yet sadl...

HatScripts commented 3 years ago

Thank you all, merged #4.

Antony256 commented 3 years ago

Hi, I didn't get this fix with tampermonkey, I assume because the version number hasn't been updated.

Eisys commented 3 years ago

One can go to the Greasemonkey page and hit reinstall version 1.3.1. It does change the line.

HatScripts commented 3 years ago

@Antony256 Thanks, fixed with https://github.com/HatScripts/youtube-auto-liker/commit/37717a9ba29488aa4286d1cef8cad005cb12e7ee.