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

彈慕被屏蔽 #246

Open
agbghewtjedgf opened this issue May 20, 2023 · 4 comments
Open

彈慕被屏蔽 #246

agbghewtjedgf opened this issue May 20, 2023 · 4 comments

Comments

@agbghewtjedgf
Copy link

問題描述

#在這裏詳細説明你遇到了什麽問題#
請問如何保存完整彈慕內容呢?
我沒有做彈慕敏感詞屏蔽
下載出來的ass文件卻少了一堆內容
例如政治、辱華之類的敏感詞

錯誤截圖

#在這裏附上錯誤的窗口截圖#

config.json 配置

#將你的config.json内容複製到這裏#
{
    "bangumi_dir": "",
    "temp_dir": "",
    "classify_bangumi": true,
    "classify_season": false,
    "check_frequency": 5,
    "download_cd": 2,
    "parse_sn_cd": 5,
    "download_resolution": "1080",
    "lock_resolution": false,
    "only_use_vip": false,
    "default_download_mode": "latest",
    "use_copyfile_method": false,
    "multi-thread": 3,
    "multi_upload": 3,
    "segment_download_mode": true,
    "multi_downloading_segment": 2,
    "segment_max_retry": 8,
    "add_bangumi_name_to_video_filename": true,
    "add_resolution_to_video_filename": true,
    "customized_video_filename_prefix": "【動畫瘋】",
    "customized_bangumi_name_suffix": "",
    "customized_video_filename_suffix": "",
    "video_filename_extension": "mp4",
    "zerofill": 1,
    "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36",
    "use_proxy": false,
    "proxy": "http://user:[email protected]:1000",
    "no_proxy_akamai": false,
    "upload_to_server": false,
    "ftp": {
        "server": "",
        "port": "",
        "user": "",
        "pwd": "",
        "tls": true,
        "cwd": "",
        "show_error_detail": false,
        "max_retry_num": 15
    },
    "user_command": "shutdown -s -t 60",
    "coolq_notify": false,
    "coolq_settings": {
        "msg_argument_name": "message",
        "message_suffix": "追加的資訊",
        "query": [
            "http://127.0.0.1:5700/send_group_msg?access_token=abc&group_id=12345678",
            "http://127.0.0.1:5700/send_group_msg?access_token=abc&group_id=87654321"
        ]
    },
    "telebot_notify": false,
    "telebot_token": "",
    "telebot_use_chat_id": false,
    "telebot_chat_id": "",
    "discord_notify": false,
    "discord_token": "",
    "plex_refresh": false,
    "plex_url": "",
    "plex_token": "",
    "plex_section": "",
    "plex_naming": false,
    "faststart_movflags": false,
    "audio_language": false,
    "use_mobile_api": false,
    "danmu": true,
    "danmu_ban_words": [],
    "check_latest_version": true,
    "read_sn_list_when_checking_update": true,
    "read_config_when_checking_update": true,
    "ads_time": 25,
    "mobile_ads_time": 25,
    "use_dashboard": true,
    "dashboard": {
        "host": "127.0.0.1",
        "port": 5000,
        "SSL": false,
        "BasicAuth": false,
        "username": "admin",
        "password": "admin"
    },
    "save_logs": true,
    "quantity_of_logs": 7,
    "config_version": 17.2,
    "database_version": 2.0
}

## sn_list.txt 配置

#將你的sn_list.txt内容複製到這裏#


**最好上傳 log 檔案**
@miyouzi
Copy link
Owner

miyouzi commented May 20, 2023

彈幕問題需要咨詢 @gitqwerty777 ,設計上是會帶上動畫瘋自帶的過濾,你訪問 https://ani.gamer.com.tw/ajax/keywordGet.php 看看有沒有内容

@gitqwerty777
Copy link
Contributor

gitqwerty777 commented May 23, 2023

只看設定檔的話是沒有額外檔彈幕的

目前有兩種可能:

  1. 下載彈幕的時間和你檢查的時間不同,所以有新的彈幕出現,和舊的彈幕被刪除
  2. 你在巴哈的彈幕設定有包含關鍵字
    image

如果你能提供特定集數並指出哪些彈幕沒被下載的話,是最好的。

@agbghewtjedgf
Copy link
Author

感謝@gitqwerty777@miyouzi解答
現在懷疑是彈慕檢查時間點問題,aniGamerPlus下載來的似乎不是當下最新時間點的彈慕

畢竟載下來都是差不多3000條彈慕,但內容差異可不小

例如我推的孩子第6話 2023/05/23 18:23
網頁版彈慕是這樣,以"中國"關鍵字共有9條

11:45 中國跟台灣的抖音是白癡一堆
11:45 歐美抖音一樣智障,抖音智障不分歐美中國
17:45 中國人都是風向魔人的居住地
18:05 中國最近野狗事件也是阿,硬要說辱軍,智商
18:34 反觀中國,跟著黨走被當人礦
19:26 中國人真實素質就是跟風無腦被黨捶
19:28 中國人整天nmsl好意思嘴日本人?
19:38 中國的言論管控如果用在這種人身上就好了
19:47 當中國人到世界各地都會被辱華

相同下載時間點 2023/05/23 18:23
aniGamerPlus的彈慕有"中國"關鍵字只剩一條
19:38.40 中國的言論管控如果用在這種人身上就好了

我用另一套彈慕轉ass下載工具就沒有這問題,ass彈慕內容與動畫瘋網頁版是完全一致的
https://github.com/tiansh/ass-danmaku

@gitqwerty777
Copy link
Contributor

了解了,問題出在自動過濾

image

你下載的彈幕是有過濾的

在網頁上看到的是沒過濾的

我現在還不確定要怎麼改(詳見下方)

但可以推測和你在拿cookie時的設定值有關

所以重拿一次cookie的值,確認過濾設定沒有打勾即可


詳細:

目前修改過濾設定會傳送下列請求,不過我沒參透token是什麼,所以沒法改

https://ani.gamer.com.tw/ajax/animeBlack.php?token=0220a2f4d11efcc5c0b2639c2d1690fed4736717bd751e9f646d2f5d

bahablack() 有關

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants