Generation

generate functionSun, 13 Nov 2022

scrape freelancewritinggigs.com for new job posts

def scrape_freelancewritinggigs(): try: soup = make_soup("https://freelancewritinggigs.com/freelance-writing-jobs/") recent_posts = soup.find(id="recent-posts-3") targets = recent_posts.findAll("a") for target in targets: print(target.text) except: print("An error occured") scrape_freelancewritinggigs()

Questions about programming?Chat with your personal AI assistant