youtube_it icon indicating copy to clipboard operation
youtube_it copied to clipboard

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

Open cqcn1991 opened this issue 9 years ago • 9 comments

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?

cqcn1991 avatar May 08 '15 02:05 cqcn1991

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

adank92 avatar May 08 '15 16:05 adank92

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

adank92 avatar May 08 '15 17:05 adank92

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

cqcn1991 avatar May 10 '15 03:05 cqcn1991

@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

adank92 avatar May 11 '15 13:05 adank92

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

Mossie93 avatar Jun 05 '15 11:06 Mossie93

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

tak1n avatar Jun 16 '15 14:06 tak1n

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

h0jeZvgoxFepBQ2C avatar Jun 24 '15 18:06 h0jeZvgoxFepBQ2C

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

kterusaki avatar Sep 03 '15 06:09 kterusaki

Is there an alternative to this abandoned gem here?

rubyFeedback avatar Mar 03 '22 12:03 rubyFeedback