Skip to content

Commit 23b9748

Browse files
committed
Update V1.0.0
- happy release!
1 parent 4de1e50 commit 23b9748

File tree

5 files changed

+80
-64
lines changed

5 files changed

+80
-64
lines changed

README.ja.md

Lines changed: 58 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -2,50 +2,50 @@
22

33
[English](./README.md) | [日本語](./README.ja.md)
44

5-
A simple encrypted content downloader.
5+
シンプルな暗号化コンテンツダウンローダーです。
66

7-
Currently, we have confirmed operation with the following devices
7+
現在以下のデバイスでの動作を確認しています。
88

99
- Linux (aarch64, arm64)
1010
- Windows (10&11)
11-
- Nintendo Switch(L4T Ubuntu noble)
11+
- Nintendo Switch(L4T noble)
1212

13-
# Table of contents
13+
# 目次
1414

15-
- [Installation](#how-to-install)
16-
- [Download with Git Clone](#download-with-git-clone)
17-
- [Downlaod with Release](#download-with-release)
18-
- [How to use](#how-to-use)
19-
- [Commands](#basic-commands)
20-
- [Download](#basic-download)
21-
- [Supported Sites](#supported-sites)
22-
- [Existing Issues](#exsiting-issues)
15+
- [インストール](#インストール方法)
16+
- [Git Cloneでのダウンロード](#git-cloneでのダウンロード)
17+
- [リリースからのダウンロード](#リリースからのダウンロード)
18+
- [使い方](#使い方)
19+
- [コマンド](#基本的なコマンド)
20+
- [基本的なダウンロード](#基本的なダウンロード)
21+
- [サポートされているサイト](#サポートされているサイト)
22+
- [既存の問題](#既存の問題)
2323

2424

25-
## How to Install
25+
## インストール方法
2626

27-
### Download with Git Clone
27+
### Git cloneでのダウンロード
2828

2929
git clone https://github.com/nyashinn1204/yoimi
3030

31-
Note: you will need layer3 widevine cdm if downloading from git. (l3.wvd)
31+
注意: gitからのダウンロードの場合layer3のwidevine cdmが必要となります。(l3.wvd)
3232

33-
If you are able to prepare it, please use this option if at all possible!
33+
もし用意できるのであればできる限りこのオプションを利用してください
3434

3535

36-
### Downlaod with Release
36+
### リリースからのダウンロード
3737

38-
Download the latest version of Yoimi from [here](https://github.com/NyaShinn1204/Yoimi/releases/latest).
38+
[こちら](https://github.com/NyaShinn1204/Yoimi/releases/latest) から最新版のYoimiをダウンロードしてください。
3939

40-
This zip contains l3.wvd and other files. If you are having trouble preparing it, use this one.
40+
このzipにはl3.wvdなどが含まれています。用意がめんどくさいときはこちらを使ってください。
4141

42-
Also, sometimes there are modifications to the Yoimi-hot-fix-0.zip.
42+
また、たまにですがYoimi-hot-fix-〇.zipという風に修正がされている場合があります。
4343

44-
In that case, please update the file as much as possible.
44+
その際にはできるだけ更新を行ってください。
4545

46-
## How to use
46+
## 使い方
4747

48-
### Basic Commands
48+
### 基本的なコマンド
4949

5050
```
5151
>> python yoimi.py download -h
@@ -78,72 +78,72 @@ Options:
7878
-h, --help Show this message and exit.
7979
```
8080

81-
- **`--username/-U`**: Username or Email
82-
- **`--password/-P`**: Password
83-
- **`--proxies/-p`**: Proxy
84-
- Example: `127.0.0.1:1080`, `http://127.0.0.1:1080`, `http://user:[email protected]:1080`, `socks5://127.0.0.1:1080`
85-
- **`--verbose/-v`**: Use debug mode
86-
- **`--random-directory/-rd`**: Temp folder to random characters [※1](#decryption-fails-in-chinese-environment)
87-
- **`--get-niconico-comment`**: download niconico comment
88-
- **`--only-download-comment`**: download only niconico comment
81+
- **`--username/-U`**: ユーザー名またはメールアドレス
82+
- **`--password/-P`**: パスワード
83+
- **`--proxies/-p`**: プロキシ
84+
- : `127.0.0.1:1080`, `http://127.0.0.1:1080`, `http://user:[email protected]:1080`, `socks5://127.0.0.1:1080`
85+
- **`--verbose/-v`**: デバッグモードを利用する
86+
- **`--random-directory/-rd`**: tempフォルダをランダム文字にする [※1](#中国語環境で暗号化解除が失敗する)
87+
- **`--get-niconico-comment`**: ニコニコのコメントをダウンロードする
88+
- **`--only-download-comment`**: ニコニコのコメントのみダウンロードする
8989

90-
### Basic Download
90+
### 基本的なダウンロード
9191

92-
Basically
92+
基本的には
9393

94-
python yoimi.py download Here is the url of the video
94+
python yoimi.py download ここに動画のurl
9595

96-
and it will work. If you need an account
96+
のようにすると、動作します。アカウントが必要な場合には
9797

98-
python yoimi.py download here url of video --username here email address --password here password
98+
python yoimi.py download ここに動画のurl --username ここにメールアドレス --password ここにパスワード
9999

100-
If you want to use your account, you can use your account as follows. Some cookies may be required.
100+
のようにすると、アカウントが使われます。一部クッキーが必要なものも出てくるかもしれません。
101101

102-
### Supported Sites
102+
### サポートされているサイト
103103

104-
We currently support or are working on the following sites
104+
現在以下のサイトにサポート、または取り組んでいます。
105105

106-
Completed: ✅ | Under construction: 🔄️ | Cancel: ❌
106+
完了: ✅ | 作成中: 🔄️ | キャンセル: ❌
107107

108108
| | Premium | Free |
109109
| -------------------- | -------- | ----- |
110110
| Abema |||
111111
| U-Next |||
112112
| Dmm-TV || 🔄️ |
113-
| Danime | 🔄️ | 🔄️ |
113+
| Dアニメ | 🔄️ | 🔄️ |
114114
| FOD |||
115-
| NHK+ |||
115+
| NHK+ |||
116116
| Anime3rb | X ||
117117

118-
NHK+ Cancel Reason: [※2](#nhk-issues)
118+
NHK+のキャンセル理由: [※2](#nhkでうまくログインできない)
119119

120-
If you have problems with Abema, try adding “-v1” to the end of the url, and the downloader will work in v1 mode.
120+
Abemaで問題が発生したら、urlの最後に"-v1"をつけてみてください。v1のモードでダウンローダーが動きます。
121121

122-
## Existing Issues
122+
## 既存の問題
123123

124-
#### Decryption fails in Chinese environment
124+
#### 中国語環境で暗号化解除が失敗する
125125

126-
In this case, use the -rd option or the --random-directory option.
126+
この場合は-rdオプション、または--random-directoryオプションを利用してください。
127127

128-
#### NHK Issues
128+
#### nhkでうまくログインできない
129129

130-
I have to give up on nhk+ because I can't match the “fingerprint” used to log in.
131-
The source code itself is in /ongoing/nhk_plus/, so if you can fix it, please pull requests or whatever.
132-
Please do so (see below).
130+
ログインをする際に使う"fingerprint"の照合がどうしてもできないため、nhk+は断念します。
131+
ソースコード自体は/ongoing/nhk_plus/に入っているので、直せたらpull requestsでも何でもしてください。
132+
お願いします()
133133

134-
#### Other
134+
#### その他
135135

136-
Problem with occasional licensing failures and program stoppage
136+
時々ライセンス取得に失敗し、プログラムが停止してしまう問題
137137

138138

139-
## Have you found a problem?
139+
## 問題を発見しましたか?
140140

141141
discord: nyanyakko005
142-
or
142+
または
143143
telegmra: skidnyarara
144144

145-
Please contact us at
145+
に連絡をしてください
146146

147147
> [!WARNING]
148-
> Yoimi is developed from the base part of a package called [Yuu](https://github.com/noaione/yuu). There are many similarities in the code
149-
> Yoimi also recommends that it be used for educational purposes only.
148+
> Yoimiは、[Yuu](https://github.com/noaione/yuu) と呼ばれるパッケージのベース部分をもとに開発されています。コードが似ている部分が多くあります
149+
> またYoimiは、教育目的のみの使用を推奨しています。

VERSION.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "0.9.0",
3-
"changelog_ja": "主な変更点 - 0.9\n- [Add] 新しいオプション'-rd', '--random-directory'を追加しました\n- [Fix] うまくURLが解析されない問題の修正\n- [Fix] Dmm-TVでうまくアカウントのチェックがされない問題の修正\n- [Fix] Dmm-TVでうまくエピソードの分類がされていない問題の修正\n- [Fix] 言語設定が中国語の時に、暗号化の解除で失敗する問題の対処\n- [Soon] NHK+の解析が終了したので、現在取り組んでいます",
4-
"changelog_en": "What's New? - 0.9\n- [Add] Added new options '-rd” and '--random-directory\n- [Fix] Fixed problem with URL parsing.\n- [Fix] Fixed problem with Dmm-TV not checking accounts properly.\n- [Fix] Fixed an issue where Dmm-TV was not categorizing episodes properly.\n- [Fix] Fixed an issue where decryption would fail when the language setting was set to Chinese.\n- [Soon] Finished analyzing NHK+ and working on it now"
2+
"version": "1.0.0",
3+
"changelog_ja": "主な変更点 - 1.0.0\n- [Add] Abemaの新しいバージョンV2をリリースしました (DASH,HLSのサポート)\n- [Add] ニコニコのコメントをダウンロードするオプションを追加しました (--get-niconico-comment, --only-download-comment)\n- [Add] ニコニコのコメントをxmlでセーブする機能を追加しました\n- [Add] Anime3rbをサポートしました\n- [Add] バージョンチェック機能を追加しました\n- [Fix] うまく実行できない問題を修正しました\n- [Fix] うまく地域チェックができない問題を修正しました\n- [Fix] 対象のコンテンツが無料かを判定するコードを修正しました\n- [Soon] NHK+のログインシステム上実装は遅くなります",
4+
"changelog_en": "What's New? - 1.0.0\n- [Add] Released new version V2 of Abema (DASH,HLS support)\n- [Add] Added option to download Niconico comments (--get-niconico-comment, --only-download-comment)\n- [Add] Added the ability to save NicoNico comments in xml\n- [Add] Supported Anime3rb\n- [Add] Added version check function\n- [Fix] Fixed a problem that could not be executed properly\n- [Fix] Fixed an issue where the region check could not be performed properly.\n- [Fix] Fixed the code that determines whether the target content is free.\n- [Soon] Implementation will be slow due to NHK+ login system"
55
}

command.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
import requests
99
import subprocess
1010

11-
from common import (__version__, _prepare_yuu_data, get_parser, get_yuu_folder, merge_video, mux_video)
11+
from common import (__version__, _prepare_yuu_data, get_parser, version_check, get_yuu_folder, merge_video, mux_video)
1212

1313
CONTEXT_SETTINGS = dict(help_option_names=['-h', '--help'], ignore_unknown_options=True)
1414

@@ -90,6 +90,9 @@ def main_downloader(input, username, password, proxy, res, resR, mux, muxfile, k
9090
exit(1)
9191

9292
sesi = requests.Session()
93+
94+
version_check(sesi)
95+
9396
if site_text not in ["abemav1", "aniplus", "gyao"]:
9497

9598
if proxy:
@@ -126,7 +129,6 @@ def main_downloader(input, username, password, proxy, res, resR, mux, muxfile, k
126129
else:
127130
if site_text == "abemav1":
128131
input = input.replace("-v1", "")
129-
print(input)
130132
fn_log_output = '{f}/yuu_log-{t}.log'.format(f=get_yuu_folder(), t=datetime.today().strftime("%Y-%m-%d_%HH%MM"))
131133
logging.basicConfig(level=logging.DEBUG,
132134
handlers=[logging.FileHandler(fn_log_output, 'a', 'utf-8')],

common.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from ext import fod as FOD
1414
from ext import anime3rb as Anime3rb
1515

16-
__version__ = "0.9.0"
16+
__version__ = "1.0.0"
1717

1818
def get_parser(url):
1919
"""
@@ -50,6 +50,14 @@ def get_parser(url):
5050
return Anime3rb, "anime3rb"
5151
return None, None
5252

53+
def version_check(session):
54+
data = session.get("https://pastebin.com/raw/ajb3We1w").json()
55+
if __version__ != data["version"]:
56+
print("New Version Detect, Please update! https://github.com/NyaShinn1204/Yoimi/releases/tag/{}".format(data["version"]))
57+
print('====== Changelog v{} ======'.format(data["version"]))
58+
print(data["changelog_ja"])
59+
print("\n")
60+
print(data["changelog_en"])
5361

5462
def merge_video(path, output):
5563
"""

requirements.txt renamed to requirements_pc.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
requirement:
2+
python (3.12~)
3+
nodejs
4+
5+
6+
python requirement:
17
tqdm
28
m3u8
39
pycryptodome

0 commit comments

Comments
 (0)