Generation

time complexitySun, 13 Nov 2022

def scrape(): response = requests.get('http://freelancewritinggigs.com/') soup = BeautifulSoup(response.text) listings = soup.findAll('div', {'class': 'post_title'}) return [listing.a.text for listing in listings]

O(n)

Want to kickstart your project?Use the new AI Studio to create your code