Copy config removing sensitive data
This commit is contained in:
parent
d15767a938
commit
490e0c86c5
89 changed files with 12214 additions and 0 deletions
11
config/conky/BibleVerse/bibleGateway.py
Normal file
11
config/conky/BibleVerse/bibleGateway.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
__author__ = 'jonathan'
|
||||
|
||||
import urllib.request
|
||||
import json
|
||||
import html
|
||||
import textwrap
|
||||
|
||||
f = urllib.request.urlopen("http://www.biblegateway.com/votd/get/?format=json&version=ESV")
|
||||
content = json.loads(f.read().decode("utf-8"))
|
||||
|
||||
print(textwrap.fill(html.unescape(content['votd']['text']),30))
|
Loading…
Add table
Add a link
Reference in a new issue