kylejginavan / youtube_it

An object-oriented Ruby wrapper for the YouTube GData API
http://groups.google.com/group/ruby-youtube-library
595 stars 223 forks source link

API is not supported anymore? return result is https://youtube.com/devicesupport #251

Open cqcn1991 opened 9 years ago

cqcn1991 commented 9 years ago

When I do query by author, it returns this link: https://www.youtube.com/watch?v=UKY3scPIMd8 Does this mean the API is not supported anymore?

How can I query for video now?

adank92 commented 9 years ago

Same thing is happening to me, i'm guessing the code needs an update.

adank92 commented 9 years ago

The library is using the deprecated Youtube API v2, that's why it's broken. There's a PR to add this to the README but the repo owner did not merge it yet: #210

I'm going to try this gem that supports v3: https://github.com/Fullscreen/yt

cqcn1991 commented 9 years ago

@adank92 How are u doing with yt? I'm getting another error, have no idea about it. https://github.com/Fullscreen/yt/issues/163

adank92 commented 9 years ago

@cqcn1991 i've just tested in my machine the code that's giving your problems and it's working correctly.

ruby --version

ruby 2.1.5p273 (2014-11-13 revision 48405) [x86_64-linux

rails --version

Rails 4.2.0

rake --version

rake, version 10.4.2

yt info

Yt version 0.22.0

Mossie93 commented 9 years ago

I have similar problem. method video_by returns error 410, which causes app to render status 500

tak1n commented 9 years ago

http://youtube-eng.blogspot.co.at/2015/04/bye-bye-youtube-data-api-v2.html

h0jeZvgoxFepBQ2C commented 9 years ago

Yeah, this gem doesnt work anymore.. Please merge the pull request.

kterusaki commented 9 years ago

Same here. I can't access youtube resources via youtube_it gem, but can via other gems.

rubyFeedback commented 2 years ago

Is there an alternative to this abandoned gem here?