https://github.com/nikolajlauridsen/wordsearch
What does that word mean?
https://github.com/nikolajlauridsen/wordsearch
scraping scraping-websites
Last synced: 10 days ago
JSON representation
What does that word mean?
- Host: GitHub
- URL: https://github.com/nikolajlauridsen/wordsearch
- Owner: nikolajlauridsen
- License: mit
- Created: 2016-12-20T17:41:13.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-04-24T17:42:46.000Z (about 6 years ago)
- Last Synced: 2025-04-03T04:11:17.700Z (about 2 months ago)
- Topics: scraping, scraping-websites
- Language: Python
- Homepage:
- Size: 23.4 KB
- Stars: 2
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# What does that word mean?
Commandline tool for looking up words.Simply launch the script with your query like so:
#### Definition
```
py wordsearch.py query
```#### Synonym
```
py wordsearch.py -s query
```The script will then google it for you and look through supported sites
for your answer# Supported sites
## Word definitions
### English
* [en.wikipedia.org](https://en.wikipedia.org/wiki/Main_Page)
* [merriam-webster.com](https://www.merriam-webster.com/)
* [dictionary.com](http://www.dictionary.com/)
* [thefreedictionary.com](http://www.thefreedictionary.com/)
* [vocabulary.com](https://www.vocabulary.com/)### Danish
* [ordnet.dk](http://ordnet.dk/)
* [da.wikipedia.org](https://da.wikipedia.org/wiki/Forside)
* [sproget.dk](http://sproget.dk/)## Synonyms
### English
* [thesaurus.com](http://www.thesaurus.com/)
* [synonym.com](http://www.synonym.com/)# Sorting languages
To only show english results edit line 3 in config.ini to change language sorting like so:#### before:
```INI
[DEFAULT]
selector = p
lang = all
```#### after:
```INI
[DEFAULT]
selector = p
lang = en
```# Output looking weird?
Change your consoles encoding to UTF-8 and it should be solved.
On windows you can change your encoding with the following command:
```
chcp 65001
```# Requirements
You can install requirements with pip
```
py -m pip install -r requirements.txt
```
* BeautifulSoup4
* Requests