I got this following error while running the python program.
"AttributeError: module 'urllib' has no attribute 'request'"
SOURCE CODE: https://stackoverflow.com/questions/43982002/extract-the-src-attribute-from-an-img-tag-using-beautiful-soup
from bs4 import BeautifulSoup as BSHTML
import urllib
page = urllib.request.urlopen('https://github.com/abushoeb/emotag')
soup = BSHTML(page)
images = soup.findAll('img')
for image in images:
# Print image source
print(image['src'])
# Print alternate text
print(image['alt'])
import urllib.request