#!/usr/bin/env python # coding: utf-8 # In[1]: import requests link = 'https://www.economist.com/graphic-detail/2018/07/26/python-is-becoming-the-worlds-most-popular-coding-language' r = requests.get(link) L = r.text # In[2]: import re from IPython.core.display import display, HTML for x in re.findall('(

.*?

)',L): display(HTML(x)) # In[ ]: