Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/futantan/dic-scraper
Linux terminal Dictionary
https://github.com/futantan/dic-scraper
Last synced: about 1 month ago
JSON representation
Linux terminal Dictionary
- Host: GitHub
- URL: https://github.com/futantan/dic-scraper
- Owner: futantan
- Created: 2015-06-15T03:05:29.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-07-10T14:50:13.000Z (over 9 years ago)
- Last Synced: 2024-03-16T06:51:17.996Z (10 months ago)
- Language: Python
- Homepage:
- Size: 113 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dic-scraper
最简单的linux查词命令。
```
$> dic hello world
你好世界
``````
$> dic hack
n. 砍,劈;出租马车
vt. 砍;出租
vi. 砍
n. (Hack)人名;(英、西、芬、阿拉伯、毛里求)哈克;(法)阿克
```#Setup
```
git clone https://github.com/futantan/Dic-scraper.git
pip install requests BeautifulSoup4
chmod a+x dic.py
ln dic.py /usr/local/bin/dic
```#update
```
git pull
```#Todo
- [ ] 支持中文#Change Log
#0.1
- 实现有道词典英文单词(词组)翻译简单抓取
- 增加无网状态下的出错处理
- 使用硬链接#关于我
- [我的博客](http://www.futantan.com)
- Email: [[email protected]](mailto:[email protected])#License
```
Copyright 2015 futantanLicensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License athttp://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```