mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
9 lines
254 B
Python
9 lines
254 B
Python
#!/usr/bin/python3
|
|
import requests
|
|
from bs4 import BeautifulSoup
|
|
|
|
def getWisdom():
|
|
url = "http://www.wisdomofchopra.com/iframe.php"
|
|
html = BeautifulSoup(requests.get(url).content, "html.parser")
|
|
return html.find("td", { "id": "quote" }).text
|