ekfacile
ekfacile
Sorry, the crash on writing the file was caused by the anti-virus software. It doesn't crash now. However, we do not guarantee that there will be no problems other than...
Operation was confirmed until after clearing.   
Blueskyでの指定アカウントの投稿を全部テキストファイルに出力するやつ https://gist.github.com/gpsnmeajp/c549330dfdbc0a11643b0f0a52f5aa53 All post data (JSON) output by this script includes language information.
私の方でも実際に投稿してBluesky側の設定やカスタムフィードを作って検出を試みましたが出来ませんでした。 確認する術がない以上、現時点では複数言語指定は諦めるしかなさそうです。 中途半端な実装を好まないのであれば、このIssueはCloseして下さい。
投稿に使用された言語を知る方法が見つかりました。 外部サービスの[TOKIMEKI](https://tokimekibluesky.vercel.app/login)で以下の設定を有効にして下さい。言語情報が表示されます。 `設定(歯車アイコン)` → `全般`→ `開発者向け情報を表示する` をON また2つ前の投稿に書いた全投稿を書き出すスクリプトも、 `com.atproto.sync.getRepo` を呼び出す際に使うURLをそのアカウントが割り当てられたPDSのURLに置き換えれば正常に動作して言語情報を取得出来ます。PDS URLはTOKIMEKIのプロフィール画面で確認出来ます(要上記設定)。 (例) shimejiサーバーの場合 https://bsky.social/xprc/com.atproto.sync.getRepo?did= ~ ↓ https://shimeji.us-east.host.bsky.network/xrpc/com.atproto.sync.getRepo?did= ~ > なぜ複数指定可能なのか分かってないです。 語学学習で2つ以上の言語で投稿したい時位しか思いつきません。 あるいはコミュニケーションの都合上、母語だけでは正確な意思疎通が出来ない場合にも使われるかも知れません。
言語情報ですが、(手順を踏んで) `app.bsky.feed.getAuthorFeed` を叩けば返ってくるJSONにきちんと言語情報が含まれています。 ```csharp // C#で書いた雑なプログラム using System; using System.IO; using System.Net.Http; using System.Net.Http.Headers; using System.Net.Http.Json; using System.Text.Json; using System.Threading.Tasks; internal class AuthParam { public string Identifier { get; set;...