daviddeutsch / yt-sanegrid

YouTube abandoned the subscription grid view. This has made a lot of people very angry and been widely regarded as a bad move.
http://daviddeutsch.github.io/yt-sanegrid/
GNU General Public License v3.0
37 stars 10 forks source link

Unable to find my channel #109

Open grogilator opened 10 years ago

grogilator commented 10 years ago

Hey there,

I would absolutely love to use your service and it seems many are happy with it.

However, sane grid can't find my username. It can find the user name of my friends account, as well as another (older and defunct) account I used to use.

Due to youtube's problems with their subscritpion page, I would really like the opportunity to use it. Do you have any recommendations?

Thanks

grogilator commented 10 years ago

Never the mind!

For those experiencing the same problem, make sure that you have not only a channel set up, but a user address as well. You do that in the advanced settings. You need to submit the name that is present in www.youtube.com/user/ rather than just www.youtube.com/channel/__. That and make sure your playlists are not private!

Cheers

pdkl95 commented 10 years ago

a channel set up

sigh - so this depends on yet another part of youtube that requires a "never going to happen" Google+ account. I guess I'm going to have to try and revive my old "scrape individual pages into local RSS" tool, at like 20x the bandwidth usage :/

daviddeutsch commented 10 years ago

Not sure whether you got that right, @pdkl95 - He meant you should copy the part of the url after the youtube.com/user/ part. So if your profile page is youtube.com/user/pdki95, your username is pdki95.

pdkl95 commented 10 years ago

Unfortunately, @daviddeutsch, such URLs don't work:

http://www.youtube.com/user/pdkl95 "This channel does not exist"

I have a YT account with the usernamepdkl95, or possibly pdkl95@gmail.com depending on where you look. Both produce "Account Not Found" + "The account you entered does not exist" when I enter them in your app. I have used that account to subscribe to channels, watch and "like" videos, etc. Due to the recent "channel comments" change, I cannot add comments, as that now requires creating a Google+ profile, which is the part that isn't going to happen for ${reasons}.

At no point does YT ever send me a URL matching/youtube.com\/user\/(.*)/ or even mention a profile, though the settings page mentions that the "Account Name" is pdkl95@gmail.com which is where I get the other username possibility mentioned above, though I use plain pdkl95 to login. There are several mentions of a "channel" in various places, but they (and about half the setting/features of YT in general) all do the same thing as the top "My Channel" link - which raises a popup demanding I create a Google+ account first. The link itself is rather revealing:

<ul id="masthead-expanded-menu-list">
    <li class="masthead-expanded-menu-item first">
        <a href="/create_channel" class="yt-uix-sessionlink"
           data-sessionlink="ei=G4...[snip]...BQ&amp;feature=mhee">
            My Channel
        </a>
    </li>

I strongly suspect that @grogilator previously signed up with Google+ (Google certainly tries hard to trick you into doing that). So I kind of doubt I'll be able to use your utility (in its current design) due this requirement.

It's not a big deal for me, though, as I should be able to scrape individual channels into ttrss without a huge amount of work with some kind of wrapper around:

# manually save subscriptions page to subscription_manager.html
sed -nre '/class="subscription-title"/ { s/^.*href="([^"]*)".*title="([^"]*)".*$/\1 \2/ ; p }' < subscription_manager.html
curl "http://www.youtube.com/user/${channel}/videos" | egrep -A2 'href="/watch[?]v=(.*)"'
daviddeutsch commented 10 years ago

Wow, did not know that. It really seems like there are two classes of accounts now. I will look into solutions for this in the future. One would definitely be account-less operation of yt-sanegrid.