Skip to content

Instantly share code, notes, and snippets.

View aiddun's full-sized avatar

Aidan Dunlap aiddun

View GitHub Profile
# Returns Wikipedia front page news by scraping page.
import requests
from bs4 import BeautifulSoup
# Get webpage
pageURL = "https://en.wikipedia.org/wiki/Portal:Current_events"
page = requests.get(pageURL)
# Parse webpage

Keybase proof

I hereby claim:

  • I am aiddun on github.
  • I am aiddun (https://keybase.io/aiddun) on keybase.
  • I have a public key ASDsgZa9l2Chv5y1VW3ABzJYGG5iGTIheffQpt8w5Fsepwo

To claim this, I am signing this object: