mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 08:32:32 +00:00
Update things, delete things, add things
This commit is contained in:
1 parent
772995c0ff
commit
a8b397a44f
31 files changed
+347
-803
No files matched your search
@@ -0,0 +1,8 @@
|
||||
#!/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
|
||||
Reference in new issue
Block a user