Now I am using Python 3 feedparser to parse some RSS url, this is my code:
if __name__ == "__main__": try: feed = feedparser.parse("https://ucw.moe/feed/rss") print(feed.status) except Exception as e: logger.error(e)but I get this error:
HTTP Error 302: The HTTP server returned a redirect error that would lead to an infinite loop.The last 30x error message was:Foundwhat should I do to fix this problem?