There's more...

The default for Flask-RESTful is to run on port 5000.  This can be changed using alternate forms of app.run().  We will be fine with leaving it at 5000 for our recipes. Ultimately, you would run this service in something like a container and front it with a reverse proxy such as NGINX and perform a public port mapping to the internal service port.

Get Python Web Scraping Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.