This commit is contained in:
Alexander Popov 2020-12-24 00:01:45 +03:00
parent e7eda34aa6
commit 05c12b3977
3 changed files with 12 additions and 2 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
.venv/
*~

7
randomword_grabber.py Normal file → Executable file
View File

@ -1,3 +1,5 @@
#!/usr/bin/env python3
from bs4 import BeautifulSoup
import requests
import json
@ -36,8 +38,8 @@ def main(words_data):
return(words_data)
__author__ = 'Alexander Popov'
__license__ = "Public Domain"
__version__ = "1.0.0"
__license__ = "MIT"
__version__ = "1.0.1"
__email__ = "iiiypuk@fastmail.fm"
if __name__ == '__main__':
@ -53,3 +55,4 @@ if __name__ == '__main__':
json.dumps(words, indent=4, ensure_ascii=False))
print('Saved %d words.' % len(words))

4
words.json Normal file
View File

@ -0,0 +1,4 @@
{
}