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

add youtube system user name to client.subscriptions query #174

Closed bsa7 closed 10 years ago

bsa7 commented 11 years ago

Ordinally, query "Subscriptions" returns a object, which not include system user name of owner subscription. I can list this subscription and no more. If youtube user has no "display" representation of your name, this name i can parse from attribute @title from response. So, if yser have human friendly name representation, this will be returned in response and we can't use them in next queryes.

But if i will receive the owner system user name, i will can do query for latest videos of thats users. I stupidly parsed them by code: entry.to_s.split(/<|>/)[-4] in "parse.rb" file. It's not a good idea, but i'm not understand, how parse this good. Sorry for this.

P.S. sorry for my english

chebyte commented 10 years ago

@r72cccp hi there!, thanks for the PR I going to merge it!

cheers!

bsa7 commented 10 years ago

Hi! I'm glad to see it! With best regards!