Monday, June 4, 2012

[YouTube-API] API Get playlist REAL slow

Hi,

I am working in a educational project and need to retrieve YT playlist. 

I am using API calls like:

https://gdata.youtube.com/feeds/api/playlists/3128E15B8D159842?v=2&max-results=50&start-index=1

In general YT response is REAL slow. In order to isolate the possible problems I made a test PHP program that contains only 2 lines of code:

$url = "https://gdata.youtube.com/feeds/api/playlists/3128E15B8D159842?v=2&max-results=50&start-index=1";
$xml = simpleXML_load_file($url,"SimpleXMLElement",LIBXML_NOCDATA); 

In the average I get a response of 23 seconds.

Same happens if I copy/paste this url in the browser address line.

What is wrong?

Thanks for your help,

Benito Estrada

--
You received this message because you are subscribed to the Google Groups "YouTube APIs Developer Forum" group.
To view this discussion on the web visit https://groups.google.com/d/msg/youtube-api-gdata/-/-net_wnCTaQJ.
To post to this group, send email to youtube-api-gdata@googlegroups.com.
To unsubscribe from this group, send email to youtube-api-gdata+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/youtube-api-gdata?hl=en.

No comments:

Post a Comment