Flask requests beautifulsoup4 openai