miyouzi / aniGamerPlus

巴哈姆特動畫瘋自動下載工具,支援命令行
GNU General Public License v3.0
686 stars 95 forks source link

Docker 抓取不到清晰度, 下載失敗 #228

Open Kevin-Liou opened 1 year ago

Kevin-Liou commented 1 year ago

問題描述

在這裏詳細説明你遇到了什麽問題

tonypepe/anigamerplus v24.5 NAS docker 使用, 抓不到清晰度下載失敗 有使用VIP cookie

錯誤截圖

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

image

config.json 配置

{
    "bangumi_dir": "",
    "temp_dir": "",
    "classify_bangumi": true,
    "classify_season": false,
    "check_frequency": 5,
    "download_cd": 60,
    "parse_sn_cd": 5,
    "download_resolution": "1080",
    "lock_resolution": true,
    "only_use_vip": true,
    "default_download_mode": "all",
    "use_copyfile_method": false,
    "multi-thread": 1,
    "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": 2,
    "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36",
    "use_proxy": false,
    "proxy": "http://user:passwd@example.com: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": false,
    "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": "0.0.0.0",
        "port": 5000,
        "SSL": false,
        "BasicAuth": false,
        "username": "admin",
        "password": "admin"
    },
    "save_logs": true,
    "quantity_of_logs": 100,
    "config_version": 17.2,
    "database_version": 2.0
}

sn_list.txt 配置

最好上傳 log 檔案 image

MCchiMo commented 1 year ago
這2個改這樣看看
"lock_resolution": false,
"only_use_vip": false,
Kevin-Liou commented 1 year ago

改成下面設定變成下載失敗 "lock_resolution": false, "only_use_vip": false,

=========================== 2022-12-25 10:35:58 開始下載: sn=32090 《後宮之烏 [13]》 識別到VIP賬戶, 立即下載到VIP賬戶, 立即下載 2022-12-25 10:36:04 任務狀態: sn=32206 ERROR: 请求失败!except: HTTPSConnectionPool(host='bahamut.akamaized.net', port=443): Read timed out. (read timeout=10) 3s后重试(最多重试3次) 2022-12-25 10:36:08 任務狀態: sn=32090 ERROR: 请求失败!except: HTTPSConnectionPool(host='bahamut.akamaized.net', port=443): Read timed out. (read timeout=10) 3s后重试(最多重试3次) 2022-12-25 10:36:17 任務狀態: sn=32206 ERROR: 请求失败!except: HTTPSConnectionPool(host='bahamut.akamaized.net', port=443): Read timed out. (read timeout=10) 3s后重试(最多重试3次) 2022-12-25 10:36:21 任務狀態: sn=32090 ERROR: 请求失败!except: HTTPSConnectionPool(host='bahamut.akamaized.net', port=443): Read timed out. (read timeout=10) 3s后重试(最多重试3次) 2022-12-25 10:36:30 任務狀態: sn=32206 ERROR: 请求失败!except: HTTPSConnectionPool(host='bahamut.akamaized.net', port=443): Read timed out. (read timeout=10) 3s后重试(最多重试3次) 2022-12-25 10:36:34 任務狀態: sn=32090 ERROR: 请求失败!except: HTTPSConnectionPool(host='bahamut.akamaized.net', port=443): Read timed out. (read timeout=10) 3s后重试(最多重试3次) 2022-12-25 10:36:43 下載狀態: sn=32206 獲取 m3u8 失敗! 2022-12-25 10:36:43 任务失敗: sn=32206 title="彼得・格里爾的賢者時間 Super Extra [年齡限制版] [10]" 從任務列隊中移除, 等待下次更新重試. 2022-12-25 10:36:44 開始下載: sn=32207 《彼得・格里爾的賢者時間 Super Extra [年齡限制版] [11]》 識別到VIP賬戶, 立即下載 2022-12-25 10:36:47 下載狀態: sn=32090 獲取 m3u8 失敗! 2022-12-25 10:36:47 任務失敗: sn=32090 title=後宮之烏 [13] 10s后自動重啓,最多重試三次 2022-12-25 10:36:54 任務狀態: sn=32207 ERROR: 请求失败!except: HTTPSConnectionPool(host='bahamut.akamaized.net', port=443): Read timed out. (read timeout=10)

miyouzi commented 1 year ago

@TonyPepeBear

Kevin-Liou commented 1 year ago

發現是因為防火牆的關係. image 當docker使用橋接的時候需要把ip 172.17.0.x 的防火牆打開, 目前可以正常下載. image