-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YouTube v2 API Deprecated - need to switch to v3 API #137
Comments
It looks like the V2 API is deprecated (https://developers.google.com/youtube/2.0/developers_guide_protocol_subscriptions#Retrieving_new_subscription_videos) It also looks like there isn't a corresponding V3 API: https://code.google.com/p/gdata-issues/issues/detail?id=3946 |
Yeah, this is the same as #136 - But dang it, either I completely misread their deprecation policy or they recently changed that recently. Anyhow, doesn't change a thing, it's gone now and I'll have to fix it, soon. *sigh |
Just a note here: Fuck it, let's go. I'm working on it. |
Probably not the right place to put this, but I just wanted to say, this tool is a life-saver for me. I would be completely unable to use youtube without it, so thank you very much for working on it :) |
Nah, that's alright - thanks for helping me keep up the good spirits 😉 |
oh... ehm... doesn't "deprecated" mean it is still usable for some time? ^^ bugger... |
@Vankog Yeah, pretty much all the functionality we need has been deprecated. Bugger indeed. |
Like neonshadow said, sanegrid is my go-to when I want to watch yt. Thanks for keeping the support, David! I'll never understand why they keep placing so many barriers, so many clunky changes and try to kill anything that tries to interact with the site. Their priority should be having a robust api, instead of killing it for the sake of doing it. Maybe I'm biased because I don't like how google is handling yt these times, but I still can't understand what goes with their minds, really. /rant |
I say the same. Love the application and I support with a small dollar amount on flattr because it's just that good. Even built a small android version for my own use when I'm on the go. Looking forward to a fix and please keep up the good work. An app being stable for these many months without a major hickup well that's almost Google quality :) |
@Kanta- Me neither. The distinct feeling I get is that it's simply a matter of other things being more profitable. In the end, YT is a way to sell advertisement spots to advertisers, so you could argue that having a confusing site and API helps with that. May be too simplistic a thought, but then again, Occam's Razor and so forth. @kalaspuffar Ooooh, feeling that burn 😁 |
Since YT Startpage script has been totally out of commission, I've been here the whole time. Hopefully we can have it back in the next few days because as of right now, I'm using my twitter feed to watch videos. Can we have an ETA soon, David? |
I want to get this done over the weekend, but the current stopgap is wrestling the google singin API, so that's a "known unknown" that I cannot determine how long it will take with full accuracy. I'll try to get it done asap. |
Ooh, just had a small breakthrough - authentication works now (although it's still a bit clunky). Now I pretty much just have to make it work with the new data formatting... |
Good luck! I'll be cheering on over here. |
First feedback for now:
I've tried to login with my secondary user that is connected with my primary user. |
Just a bit more feed back. Seems like my app stopped working as well so there is no turning back. Not sure I'll rewrite it seems like something I don't want to do. |
Status update: I've rewritten large parts of how sanegrid is loaded due to the dependency of the google login api. I'm mixing in a bunch of refactors I had on my list for a while, so it's not all their fault, of course. For now, the login itself seems to work pretty well. Retrieving the data will again be a tad different - the v2 API simply gave you a straight up list of videos in chronological order. With v3, you have to first get your channel list and then iterate through the channels loading the latest videos in through the activity stream. As I mentioned in #136, the new API will make it possible to work on a bunch of longer standing suggestions, I'll list them here for further reference: #109, #104, #101, #84 (not sure about this, but possible), #83 (highly doubt this one, but it might be possible to at least share the view status), #67, #66, #64, #29, #12 All in all, I think once I'm done with this, I can finally call it a 1.0 😉 |
Oh boy... Good luck with all the work involved! |
So my list of "oh I'm totally going to watch those later" said me 5 months ago types of videos is back c: claps |
Good luck with the work! Waiting for a fix! |
Any news? |
I get a "Select a account" popup, then nothing happens. |
Right in the middle of the final push. Hold on to your seats 😉 |
Another late night update here: I have the connection to where it connects to your account and downloads channel and video data. I've also prepared localForage to stand in for the current localStorage based client side data storage. Switching to localForage will make it possible to store far more data than we could so far. It will also give me a clean break because I do need to change a couple of data structures (the v3 API returns a lot more data in general). I also want to make the lists a little more performant, so instead of one huge list that stores all the videos, it will be a "new", "archive" and "trash" list in the future and you switch between them, if you want to. Clicking the video buttons will no longer just change the video state, but move it to another list. Of course, there will be an option for migrating the existing data. I think finishing the video loading itself will only take another day or two. The functionality for migrating the data will take another day or two, but since we're opening up a new storage option, the old data isn't lost and can be migrated later on. Thanks again for your patience, guys! |
Everything seems amazing! I can't wait David, thanks for keeping us updated ;) |
Ohhh I'm glad it's going well! Thanks for the status update and good luck!!! ^ ^ |
Another quick update - videos are now loading and the last remaining task is storing the data (including that three list thing that I mentioned). I will also do a little more cleanup and then evaluate how fast I can write a migration script. |
Quick feedback. It seems you set the allowed origins for your your client id to "http://daviddeutsch.github.io" only which results in the following error message when i try to connect to "YT Sanegrid" my YouTube account using "https://daviddeutsch.github.io" (https instead of just http):
|
@Vankog Thanks, I will investigate further! Alright, packing up for today. Videos load consistently now. Had a very weird problem where the YT API would return false page markers turning into an infinite loop. The odysee of the weird API continues, I suppose. I also think that maybe their own UI is so terrible... because it has to get their data through the very same API. I have already sketched out a bunch of new providers that will finally enable me to pick apart the huge controller that currently governs the main video list. There are already a few speed improvements so far, but it will only get really interesting once I have things picked apart and in a more sensible configuration. (Do keep in mind that I programmed sanegrid to teach myself AngularJS - that does show, particularly now that I'm getting back to it after working on a bunch of "real" angular projects 😉 ) What I'm really satisfied with is the new list designations. I will either continue working on this tomorrow or the day after, I'm glad that I got it to a point where you can at least use Sanegrid to get a proper video list now 😉 |
Seriously, thanks a bunch. It works enough for me to have a good list of videos to watch. Archive and Trash... I don't like the term Trash, it seems like you want to want to remove from the Internet. "Remove" (from Grid) seem to be better term. Archive, though, is just fine. Also, when you'll be finished fixing everything up, don't forget my feature request to create a black theme (I know I created a ticket where I requested it). |
@Lebon14 The reason why I want those two terms is because they are a "place" that you move videos into. When you watch something, it then goes into your Archive. When you don't want to watch something, it goes in your Trash. Maybe stick with the names, but the hover text for the trashcan symbol would be 'Remove'? And: Yeah, everything that is open on the tracker will definitely be done in the future. Just need time for it is all. |
Some issues: TY Edit: |
Couple of problems: I get the feeling that the subscription box isn't showing all my videos. With the V2 API I used to get 2 rows of videos a day (~18 videos) and now just half. Especially when scrolling down, only like 2 videos / day show up. Is this a bug or a feature? Random videos keep popping up aswell quite some seconds later after a refresh is "done". (never realy seems to be done if I have to trust the refresh icon) I don't realy like the fact that I have to select my Youtube account aswell. Is the Oauth window required for this app to work with API v3? Thanks for all the hard work. I love this application! I can't see myself using the regular subscription box anymore. And last of all, @Vankog : |
I'm still getting the same issue as I stated above. Can't get the videos page to load. After I select my youtube account in the OAuth window, the window just closes and the page does not change. Edit: Sorry this was my fault, I had privacy badger running and it was blocking this behavior. It's working now, thanks. |
After a few days I can confirm that not all videos seem to be showing up in my sanegrid. |
Same here, some do not show up.
|
Looks like the API V3 do what the API V3's gonna do... This is why David sticked to V2 until the end. |
No, so far this seems to be channel related, not related to single videos. |
It has been a while. |
any updates? It's been a while. :/ |
More than a month since the last comment. |
Yeah, please, pretty please, give us an update! |
Mean not to be rude, but may you give us an update? |
@roadran322 All his last public activity is from another of his projects, saltwater (and the most recent was 7 days ago). I think he just got feed up with the youtube changes, and abandoned the project. I know that this is a free project, probably made on his free time, and we don't really have any rights to complain, but some closure would be nice. At least we would know to don't expect any more development, and go and try to find another ways to use yt. |
Sorry guys, got hit with a few too many other things. I'll try to get back to this as soon as I can. |
Any more updates? |
Yeah, can only do piecemeal right now, but I'm close - only need to refactor the way data is stored. |
Really looking forward to this working properly again. I've gotten way behind on my YT viewing due to having no decent way to watch my videos. |
So much new activity, but none here :( |
Dude, where are you? :( |
cri evertim |
Already over a hundred commits to another project this month, none here. :( |
There is an extension that transforms the default YouTube subscriptions page to a grid-syle page. Here it is on GitHub where there's a link to the extension for Chrome and Firefox: I hope it's okay for me to post this here! |
Well, the point of Sanegrid is having a solution that goes via API because If you want another UserJS solution, you can go to 2014-09-30 13:22 GMT+02:00 PfefferDekoration [email protected]:
|
Wait, what's that? New activity! Awesome! |
Crawling. Once again - so sorry, you guys. |
I just started getting the problem where I have about 2 videos from a certain day (where I should have ~15) and then within 10 more videos, I'm going back a year or two. Any progress on this? Because I started using this so I don't have to search through individual channels or constantly watch videos, in order to keep up with all of the videos. |
This is taking a while. Is there a list somewhere of what still needs to be done to fix this issue? |
Yesterday everything was quite fine. Today nothing works anymore. (Even though there was no update or version change...)
Tried with latest stable Chrome and IE:
1.a) already loaded videos (from yesterday) still show up
1.b) if going inkognito or open IE (I use it rarely), the video list stays empty after initialization
2) clicking on anything - video or menu items - or scrolling (so the update kicks in) always results to the initialization screen.
I first thought some chrome flags or extensions might have some influence on this. However, after checking some of them out and having the same result with IE, the origin seems to lie somewhere deeper in the guts.
The text was updated successfully, but these errors were encountered: