Python/Flask app to extract metadata from URL's