我正在尝试通过python gdata库获得YouTube订阅源。
身份验证功能正常工作,YT_service.programmaticClogin()正常工作,生成子授权令牌Works等,但当我尝试获取某些源(getmostrecentvideofeed、getyoutubevideoentry、甚至getfeed等)时,我得到:
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到“google.com”????
我甚至尝试从谷歌在线教程中做一些事情,我得到了同样的错误。发生什么事?