gdata youtube api 302 'The document has moved'
Posted
by zalew
on Stack Overflow
See other posts from Stack Overflow
or by zalew
Published on 2010-05-19T08:06:08Z
Indexed on
2010/05/19
8:10 UTC
Read the original article
Hit count: 371
I'm trying to get YouTube feeds with the python gdata library. Authentication features work ok, yt_service.ProgrammaticLogin() works, generating subauth token works, etc., but when I try to get some feeds (GetMostRecentVideoFeed, GetYouTubeVideoEntry, even GetFeed, and any other) I get:
RequestError: {'status': 302, 'body': '<HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">\n<TITLE>302 Moved</TITLE></HEAD><BODY>\n<H1>302 Moved</H1>\nThe document has moved\n<A HREF="http://www.google.com">here</A>.\r\n</BODY></HTML>\r\n', 'reason': 'Redirect received, but redirects_remaining <= 0'}
302 to 'google.com'???
I've even tried to do something from the google online tutorials and I get the same error. What's going on?
© Stack Overflow or respective owner