Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

初期設定のスレタイ検索サイト ff5ch.syoboi.jp の検索結果が出ない (2021-04) #679

Closed
ma8ma opened this issue Apr 19, 2021 · 1 comment · Fixed by #680
Labels
bug バグの追跡

Comments

@ma8ma
Copy link
Collaborator

ma8ma commented Apr 19, 2021

edit(2021-08-22): 2021年8月中旬以降にスレタイ検索できなくなった問題は #791 を見てください。


edit:スレタイ検索ができない問題についてまとめ

スレタイ検索に影響するポイント

  • about:configの「スレタイ検索用のアドレス」と「スレタイ検索時にアドレスとスレタイを取得する正規表現」
  • JDimのバージョン

バージョンごとの対処方法

バージョン PR デフォルト設定 検索できないときの対処方法
0.5.0-20210421 #676 下記(応急処置)を参考に設定を変更する
0.5.0-20210424 #680 🆗 about:configの設定をデフォルトにリセット

editここまで


バグの説明

https://ff5ch.syoboi.jp を利用してスレタイ検索をしたときに検索結果が0件になると5chにレスがありました。

https://mao.5ch.net/test/read.cgi/linux/1615781919/451

応急処置

再現の方法

  1. Webブラウザで https://ff5ch.syoboi.jp/ にアクセスする
  2. いくつかキーワードを検索し検索結果が表示されるのを確認してブラウザを閉じる
  3. 新規キャッシュディレクトリでjdimを起動
    JDIM_CACHE=$(pwd)/Test_new ./src/jdim
  4. Ctrl+Tでスレタイ検索のビューを開く
  5. 検索欄にブラウザで検索したキーワードを入力してEnterを押す
  6. 検索結果が0件になる

やりたかったこと・期待する結果

検索結果がリストで表示される

スクリーンショット

Screenshot from 2021-04-19 23-59-19
HTMLのcss classが変更された (スレ数のcountfnt-small col-sec)

動作環境

[バージョン] JDim 0.5.0-20210418(git:aa9bc16349)
[ディストリ ] Ubuntu 20.10 (x86_64)
[パッケージ] バイナリ/ソース( <配布元> )
[ DE/WM ] GNOME
[ gtkmm  ] 3.24.2
[ glibmm  ] 2.64.2
[ TLS lib ] GnuTLS 3.6.15
[オプション ] '--with-pangolayout'
[ そ の 他 ] 


応急処置
https://mao.5ch.net/test/read.cgi/linux/1615781919/451 より
about:configの「スレタイ検索時にアドレスとスレタイを取得する正規表現」を変更する。

<a [^>]*?href="(http[^"]+)">([^<]+)</a><span[[:space:]]+class="fnt-small col-sec"> \(([0-9]+)\)

@ma8ma
Copy link
Collaborator Author

ma8ma commented Apr 24, 2021

tsv, rss(xml)のAPIがあると掲示板でレスがありました。
https://mao.5ch.net/test/read.cgi/linux/1615781919/474

また、tsv APIを使ってスレッドを抽出する方法もレポートありました。
https://mao.5ch.net/test/read.cgi/linux/1615781919/482-484

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug バグの追跡
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

1 participant