ThioJoe / YT-Spammer-Purge

Allows you easily scan for and delete scam comments using several methods.
GNU General Public License v3.0
4.52k stars 391 forks source link

Wrong channels being listed when given an URL that has custom URL. #965

Open ZekePolarisBSH opened 1 year ago

ZekePolarisBSH commented 1 year ago

Duplicate Issues

What happened?

Trying to scan my friend's channel, but it keeps bring up another channel. At first it was bringing up "topic" for music and now a channel that I don't even watch. It isn't a py file so I hope the exe file version is good enough. Seems to only work with channels that does not have a custom URL. If there is a post about this already, sorry I couldn't find it. Please link me it if you can.

Release version

YTSpammerPurge.2.16.10.exe

Steps to reproduce

  1. Run Program.
  2. Copy URL.
  3. Paste URL and hit ENTER.

Sorry I don't know how to explain these steps. I am only using it how I been using it.

What platform are you seeing this problem on?

Windows (.exe file)

Relevant log output

No response

Screenshots

No response

Firecul commented 1 year ago

I'll take the lazy route and copy and paste my response to #854 because I am lazy.


Yeah that has came up before

A couple things to add that I've found. The YouTube API offers absolutely zero way to do a direct query to retrieve the channel ID if the /c/ channel URL is given, for some reason. It does however, offer a way to directly get the channel ID if it's a legacy username, so for "youtube.com/whatever", you can query for just "whatever". (Except apparently not always? See example below)

The problem with that is, sometimes the /c/ name is different from the legacy name. So if I were to add a thing to query the username "mkbhd" for example, it actually returns this channel id: UCmf_VrB73I-eJ3fq0adaOkg, which is not MKBHD's main channel: https://www.youtube.com/channel/UCmf_VrB73I-eJ3fq0adaOkg

In fact, it's not even the same channel that comes up if you type in youtube.com/mkbhd. (I think at some point, YouTube started using the /c/whatever URL if someone typed in just youtube.com/whatever. So unless they're the same, it might not give the same result) So there's not really any perfect solution.

From https://github.com/ThioJoe/YT-Spammer-Purge/issues/624

and https://github.com/ThioJoe/YT-Spammer-Purge/issues/455 also had similar problems and explanations.

ThioJoe commented 1 year ago

Yea closing this as duplicate

ZekePolarisBSH commented 1 year ago

Yea that didn't help me. Issue still happens.

ThioJoe commented 1 year ago

Yea that didn't help me. Issue still happens.

@ZekePolarisBSH Can you give specific examples of it still not working so I can investigate

ZekePolarisBSH commented 1 year ago

Still does not show my friend's channel, it keeps bringing up a channel that has no connection to it at all. Keeps bringing up a TOPIC and not a channel at all. My friend's channel is older than the TOPIC so it isn't a small channel. It's been doing this since before we all started to get a random custom URL, which isn't very customizable if you ask me. YouTube's fault right there so we can't do much about that.

On Mon, Apr 10, 2023, 10:47 AM ThioJoe @.***> wrote:

Yea that didn't help me. Issue still happens.

Can you give specific examples of it still not working so I can investigate

— Reply to this email directly, view it on GitHub https://github.com/ThioJoe/YT-Spammer-Purge/issues/965#issuecomment-1502108286, or unsubscribe https://github.com/notifications/unsubscribe-auth/AT5NU2LF7ZNWWW7JF4TDDOTXARBU3ANCNFSM6AAAAAARTWFVRM . You are receiving this because you authored the thread.Message ID: @.***>