javdict 1.2.9 → 1.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -66,6 +66,20 @@ npm install -g .
66
66
  jav -v
67
67
  ```
68
68
 
69
+ ## Updating
70
+
71
+ **Option 1: Update via npm (recommended)**
72
+ ```bash
73
+ sudo npm install -g javdict@latest
74
+ ```
75
+
76
+ **Option 2: Update from GitHub (for developers)**
77
+ ```bash
78
+ cd AvDict
79
+ git pull
80
+ sudo npm install -g .
81
+ ```
82
+
69
83
  ---
70
84
 
71
85
  ## Usage
@@ -186,6 +200,17 @@ A: Roughly every 2 weeks. If niche titles that previously worked start returning
186
200
 
187
201
  A: Yes. Enter the title in hyphen format, e.g. `031926-100`. The tool auto-detects FC2 format and handles the conversion internally.
188
202
 
203
+ **Q: Does it work in mainland China?**
204
+
205
+ A: All data sources are hosted outside mainland China and require a proxy to access. If queries consistently fail, run the following commands to check your network connectivity:
206
+ ```bash
207
+ curl -sL --connect-timeout 5 "https://www.javbus.com" -o /dev/null -w "JAVBUS: %{http_code}\n"
208
+ curl -sL --connect-timeout 5 "https://www.njav.com" -o /dev/null -w "NJAV: %{http_code}\n"
209
+ curl -sL --connect-timeout 5 "https://www.google.com" -o /dev/null -w "Google: %{http_code}\n"
210
+ ```
211
+
212
+ A response of `200` means the site is reachable. A response of `000` means the connection failed — check your proxy settings.
213
+
189
214
  ---
190
215
 
191
216
  ## Data Sources
package/README_de.md CHANGED
@@ -68,6 +68,20 @@ npm install -g .
68
68
  jav -v
69
69
  ```
70
70
 
71
+ ## Aktualisierung
72
+
73
+ **Option 1: Update über npm(empfohlen)**
74
+ ```bash
75
+ sudo npm install -g javdict@latest
76
+ ```
77
+
78
+ **Option 2: Update von GitHub(für Entwickler)**
79
+ ```bash
80
+ cd AvDict
81
+ git pull
82
+ sudo npm install -g .
83
+ ```
84
+
71
85
  ---
72
86
 
73
87
  ## Verwendung
@@ -173,10 +187,32 @@ A: Es gibt drei mögliche Ursachen:
173
187
 
174
188
  A: JAVDB ist unter Windows aufgrund von Cloudflare-Einschränkungen nicht verfügbar. Eine kleine Anzahl von Titeln, die nur in JAVDB existieren, kann unter Windows nicht gefunden werden. Für vollständige Abdeckung empfehlen wir eine Linux-Umgebung(z.B. Raspberry Pi).
175
189
 
190
+ **F: Ich erhalte `Permission denied` bei der Installation?**
191
+
192
+ A: Für die globale Installation sind erhöhte Rechte erforderlich:
193
+ ```bash
194
+ sudo npm install -g .
195
+ ```
196
+
197
+ **F: Wie oft muss ich meinen Cookie aktualisieren?**
198
+
199
+ A: Ungefähr alle 2 Wochen. Wenn zuvor funktionierende Nischen-Titel plötzlich nicht mehr gefunden werden, ist dein Cookie wahrscheinlich abgelaufen — führe `jav --setup` aus, um ihn zu aktualisieren.
200
+
176
201
  **F: Werden FC2-Amateur-Titel unterstützt?**
177
202
 
178
203
  A: Ja. Gib den Titel im Bindestrich-Format ein, z.B. `031926-100`. Das Tool erkennt das FC2-Format automatisch und wandelt es intern um.
179
204
 
205
+ **F: Funktioniert es in China?**
206
+
207
+ A: Alle Datenquellen sind auf Servern außerhalb Chinas gehostet und in China geblockt. Ein Proxy ist erforderlich. Falls Abfragen fehlschlagen, teste die Netzwerkverbindung mit diesen Befehlen:
208
+ ```bash
209
+ curl -sL --connect-timeout 5 "https://www.javbus.com" -o /dev/null -w "JAVBUS: %{http_code}\n"
210
+ curl -sL --connect-timeout 5 "https://www.njav.com" -o /dev/null -w "NJAV: %{http_code}\n"
211
+ curl -sL --connect-timeout 5 "https://www.google.com" -o /dev/null -w "Google: %{http_code}\n"
212
+ ```
213
+
214
+ `200` bedeutet erreichbar, `000` bedeutet keine Verbindung — überprüfe deine Proxy-Einstellungen.
215
+
180
216
  ---
181
217
 
182
218
  ## Datenquellen
package/README_ja.md CHANGED
@@ -68,6 +68,20 @@ npm install -g .
68
68
  jav -v
69
69
  ```
70
70
 
71
+ ## アップデート方法
72
+
73
+ **方法1:npm でアップデート(推奨)**
74
+ ```bash
75
+ sudo npm install -g javdict@latest
76
+ ```
77
+
78
+ **方法2:GitHub からアップデート(開発者向け)**
79
+ ```bash
80
+ cd AvDict
81
+ git pull
82
+ sudo npm install -g .
83
+ ```
84
+
71
85
  ---
72
86
 
73
87
  ## 使い方
@@ -173,10 +187,32 @@ A: 考えられる原因:
173
187
 
174
188
  A: Windows では Cloudflare の制限により JAVDB が使用できません。JAVDB にのみ収録されている一部の作品は Windows では検索できません。完全な検索結果を得るには Linux 環境(Raspberry Pi など)の使用を推奨します。
175
189
 
190
+ **Q: `Permission denied` と表示される?**
191
+
192
+ A: グローバルインストールには管理者権限が必要です:
193
+ ```bash
194
+ sudo npm install -g .
195
+ ```
196
+
197
+ **Q: Cookie はどのくらいの頻度で更新が必要ですか?**
198
+
199
+ A: 通常は約2週間ごとです。以前は検索できていたマイナー作品が見つからなくなったら、Cookie の有効期限切れの可能性があります — `jav --setup` を実行して更新してください。
200
+
176
201
  **Q: FC2 素人番号は対応していますか?**
177
202
 
178
203
  A: 対応しています。`031926-100` のようなハイフン形式で入力してください。ツールが自動的に形式を変換して検索します。
179
204
 
205
+ **Q: 中国本土でも使えますか?**
206
+
207
+ A: すべてのデータソースは中国本土からアクセスできない海外サイトです。中国本土ではプロキシ(VPN)が必要です。検索が失敗する場合は、以下のコマンドでネットワーク接続を確認してください:
208
+ ```bash
209
+ curl -sL --connect-timeout 5 "https://www.javbus.com" -o /dev/null -w "JAVBUS: %{http_code}\n"
210
+ curl -sL --connect-timeout 5 "https://www.njav.com" -o /dev/null -w "NJAV: %{http_code}\n"
211
+ curl -sL --connect-timeout 5 "https://www.google.com" -o /dev/null -w "Google: %{http_code}\n"
212
+ ```
213
+
214
+ `200` が返ってくれば接続可能、`000` が返ってくれば接続不可です。プロキシ設定を確認してください。
215
+
180
216
  ---
181
217
 
182
218
  ## データソース
package/README_ko.md CHANGED
@@ -68,6 +68,20 @@ npm install -g .
68
68
  jav -v
69
69
  ```
70
70
 
71
+ ## 업데이트 방법
72
+
73
+ **방법 1:npm으로 업데이트(권장)**
74
+ ```bash
75
+ sudo npm install -g javdict@latest
76
+ ```
77
+
78
+ **방법 2:GitHub에서 업데이트(개발자용)**
79
+ ```bash
80
+ cd AvDict
81
+ git pull
82
+ sudo npm install -g .
83
+ ```
84
+
71
85
  ---
72
86
 
73
87
  ## 사용 방법
@@ -173,10 +187,32 @@ A: 가능한 원인:
173
187
 
174
188
  A: Windows에서는 Cloudflare 제한으로 JAVDB를 사용할 수 없습니다. JAVDB에만 등록된 일부 번호는 Windows에서 검색할 수 없습니다. 완전한 검색 결과를 위해서는 Linux 환경(예: Raspberry Pi)사용을 권장합니다.
175
189
 
190
+ **Q: `Permission denied` 가 표시되면?**
191
+
192
+ A: 전역 설치에는 관리자 권한이 필요합니다:
193
+ ```bash
194
+ sudo npm install -g .
195
+ ```
196
+
197
+ **Q: Cookie는 얼마나 자주 업데이트해야 하나요?**
198
+
199
+ A: 보통 약 2주마다입니다. 이전에 검색되던 마이너 번호가 갑자기 검색되지 않으면 Cookie가 만료된 것입니다 — `jav --setup`을 실행하여 갱신하세요.
200
+
176
201
  **Q: FC2 소인 번호도 지원하나요?**
177
202
 
178
203
  A: 지원합니다. `031926-100`과 같은 하이픈 형식으로 입력하세요. 도구가 자동으로 형식을 변환하여 검색합니다.
179
204
 
205
+ **Q: 중국 본토에서도 사용할 수 있나요?**
206
+
207
+ A: 모든 데이터 소스는 중국 본토에서 접근할 수 없는 해외 사이트입니다. 중국 본토에서는 프록시(VPN)가 필요합니다. 검색이 계속 실패한다면 아래 명령어로 네트워크 연결을 확인하세요:
208
+ ```bash
209
+ curl -sL --connect-timeout 5 "https://www.javbus.com" -o /dev/null -w "JAVBUS: %{http_code}\n"
210
+ curl -sL --connect-timeout 5 "https://www.njav.com" -o /dev/null -w "NJAV: %{http_code}\n"
211
+ curl -sL --connect-timeout 5 "https://www.google.com" -o /dev/null -w "Google: %{http_code}\n"
212
+ ```
213
+
214
+ `200` 이 반환되면 접속 가능, `000` 이 반환되면 접속 불가입니다. 프록시 설정을 확인하세요.
215
+
180
216
  ---
181
217
 
182
218
  ## 데이터 소스
package/README_zh.md CHANGED
@@ -68,6 +68,20 @@ npm install -g .
68
68
  jav -v
69
69
  ```
70
70
 
71
+ ## 更新方法
72
+
73
+ **方式一:通过 npm 更新(推荐)**
74
+ ```bash
75
+ sudo npm install -g javdict@latest
76
+ ```
77
+
78
+ **方式二:从 GitHub 克隆安装(开发者)**
79
+ ```bash
80
+ cd AvDict
81
+ git pull
82
+ sudo npm install -g .
83
+ ```
84
+
71
85
  ---
72
86
 
73
87
  ## 使用说明
@@ -188,6 +202,17 @@ A: 通常 2 周左右,当出现冷门番号突然查不到时,运行 `jav --
188
202
 
189
203
  A: 支持,输入格式为 `031926-100`(连字符格式),工具会自动识别并转换格式查询。
190
204
 
205
+ **Q: 在中国大陆能用吗?**
206
+
207
+ A: 所有数据源均需要访问境外网站,在中国大陆必须配合代理(科学上网)才能正常使用。如果查询总是失败,可以用以下命令测试网络连通性:
208
+ ```bash
209
+ curl -sL --connect-timeout 5 "https://www.javbus.com" -o /dev/null -w "JAVBUS: %{http_code}\n"
210
+ curl -sL --connect-timeout 5 "https://www.njav.com" -o /dev/null -w "NJAV: %{http_code}\n"
211
+ curl -sL --connect-timeout 5 "https://www.google.com" -o /dev/null -w "Google: %{http_code}\n"
212
+ ```
213
+
214
+ 返回 `200` 表示可以访问,返回 `000` 表示无法连接,需要检查代理设置。
215
+
191
216
  ---
192
217
 
193
218
  ## 数据来源
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "javdict",
3
- "version": "1.2.9",
3
+ "version": "1.2.11",
4
4
  "description": "AV番号命令行查询工具",
5
5
  "main": "./index.js",
6
6
  "type": "module",