Skip to content

Instantly share code, notes, and snippets.

View jokull's full-sized avatar
☺️

Jökull Sólberg Auðunsson jokull

☺️
View GitHub Profile
import requests
import re
from bs4 import BeautifulSoup
import random
URL = "http://www.ljod.is/index.php/ljod/poem_collection/author"
page = requests.get(URL)
soup = BeautifulSoup(page.content, "html.parser")