# Obtains Wikipedia's "In the news" today's articles. import urllib.request import re import json from html.parser import HTMLParser url = "https://en.wikipedia.org/wiki/Main_Page" response = urllib.request.urlopen(url) text = response.read().decode("utf-8") text_li = re.search("In the news[\S\n\t\v ]+?