# Web Scrapping with soup
# enjoy the video
################################################
import requests from bs4 import BeautifulSoup from html.parser import HTMLParser
print("*************************************************") print("Creating test code *******************************")
if hasattr(BeautifulSoup, 'get') == True: print("Yess : Safe you can proceed") else: print("No Fool! : Module Missing! Stop now before you lose your job!!")
FULL CODE:
https://github.com/olobamangidi/Pythonscripting/blob/master/webscrappingBeautifulSoup
CODE LINK IN GITHUB :
https://github.com/olobamangidi/Pythonscripting/blob/master/webscrappingBautifulSoup