Update README.md
This commit is contained in:
parent
8086dfcefb
commit
78c65350d5
1 changed files with 66 additions and 4 deletions
70
README.md
70
README.md
|
|
@ -10,7 +10,6 @@ compiling the scraped data into compact dictionary file formats.
|
|||
* [新明解国語辞典 第八版](https://www.monokakido.jp/ja/dictionaries/smk8/index.html)
|
||||
* [大辞林 第四版](https://www.monokakido.jp/ja/dictionaries/daijirin2/index.html)
|
||||
|
||||
|
||||
### Supported Output Formats
|
||||
|
||||
* [Yomichan](https://github.com/foosoft/yomichan)
|
||||
|
|
@ -33,15 +32,78 @@ options:
|
|||
-i IMAGE_DIR, --image-dir IMAGE_DIR
|
||||
path to directory containing image folders (gaiji,
|
||||
graphics, etc.)
|
||||
|
||||
```
|
||||
### Online Targets
|
||||
Jitenbot will scrape the target website and save the pages to the [user's cache directory](https://pypi.org/project/platformdirs/).
|
||||
Jitenbot will scrape the target website and save the pages to the [user cache directory](https://pypi.org/project/platformdirs/).
|
||||
As a courtesy to the website owners, jitenbot is configured to pause for 10 seconds between each page request. Consequently,
|
||||
a complete crawl of a target website may take several hours.
|
||||
|
||||
HTTP request headers (user agent string, etc.) may be customized by editing the `config.json` file created in the
|
||||
[user config directory](https://pypi.org/project/platformdirs/).
|
||||
|
||||
### Offline Targets
|
||||
Page data and image data must be supplied by the user and passed to jitenbot via the appropriate command line flags.
|
||||
Page data and image data must be procured by the user
|
||||
and passed to jitenbot via the appropriate command line flags.
|
||||
|
||||
# Attribution
|
||||
`Adobe-Japan1_sequences.txt` is provided by [The Adobe-Japan1-7 Character Collection](https://github.com/adobe-type-tools/Adobe-Japan1).
|
||||
|
||||
# Examples
|
||||
|
||||
### 四字熟語辞典オンライン
|
||||
<details>
|
||||
<summary>白玉微瑕 (web)</summary>
|
||||
|
||||

|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>白玉微瑕 (yomichan)</summary>
|
||||
|
||||

|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
### 故事・ことわざ・慣用句オンライン
|
||||
<details>
|
||||
<summary>怒髪、冠を衝く (web)</summary>
|
||||
|
||||

|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>怒髪、冠を衝く (yomichan)</summary>
|
||||
|
||||

|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
### 新明解国語辞典 第八版
|
||||
<details>
|
||||
<summary>離れる (print)</summary>
|
||||
|
||||

|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>離れる (yomichan)</summary>
|
||||
|
||||

|
||||
</details>
|
||||
|
||||
---
|
||||
|
||||
### 大辞林 第四版
|
||||
<details>
|
||||
<summary>令月 (print)</summary>
|
||||
|
||||

|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>令月 (yomichan)</summary>
|
||||
|
||||

|
||||
</details>
|
||||
|
|
|
|||
Loading…
Reference in a new issue