mirror of
https://github.com/RussellChamp/tilde-projects.git
synced 2026-10-28 00:22:34 +00:00
Added some stuff, deleted some stuff, modified some stuff
This commit is contained in:
1 parent
8454515e67
commit
d76dd9c674
16 files changed
+199
-30
No files matched your search
@@ -20,6 +20,6 @@ def rhymeZone(word):
|
||||
for t in soup.find_all('a', 'd'):
|
||||
w = t.text.rstrip()
|
||||
if w not in [u'', u'\xa0'] and '?' not in t:
|
||||
words.append(w)
|
||||
words.append(w.encode('ascii', 'ignore'))
|
||||
random.shuffle(words)
|
||||
return words[0:5]
|
||||
Reference in new issue
Block a user