Spaces:
Sleeping
Sleeping
import requests | |
import bs4 | |
import lxml | |
def greet(): | |
return "Hello World!" | |
def do_it(): | |
places=[] | |
result=requests.get("https://www.bmcadventures.com/collections/one-day-treks") | |
soup = bs4.BeautifulSoup(result.text, "lxml") | |
places = soup.select('h3') | |
return places | |