flask requests beautifulsoup4 markdown