Create a web scraper in Python to extract all data from a page with the URL: http://example.com
http://example.com
import requests 
from bs4 import BeautifulSoup

r = requests.get("http://example.com") 
data = r.text 
soup = BeautifulSoup(data, 'html.parser') 

for item in soup.find_all("div"): 
 print(item.text)