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

SN抓取失敗 #282

Open
yumeinori opened this issue Sep 24, 2024 · 7 comments
Open

SN抓取失敗 #282

yumeinori opened this issue Sep 24, 2024 · 7 comments

Comments

@yumeinori
Copy link

yumeinori commented Sep 24, 2024

問題描述

PS:此未開模擬手機端解析
上次模擬手機端解析失效後
關閉模擬手機端解析可以正常下載
但今天遇到抓取SN失敗的問題

config.json 配置

{
"bangumi_dir": "D:\動畫待補\新番\Ani",
"temp_dir": "",
"classify_bangumi": true,
"check_frequency": 1,
"download_resolution": "1080",
"lock_resolution": true,
"default_download_mode": "latest",
"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": "mp4",
"zerofill": 1,
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/537.36",
"use_proxy": 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": {
"query": [
"http://127.0.0.1:5700/send_group_msg?group_id=123456789"
],
"message_suffix": "追加的資訊",
"msg_argument_name": "message"
},
"faststart_movflags": false,
"check_latest_version": true,
"read_sn_list_when_checking_update": true,
"read_config_when_checking_update": true,
"save_logs": true,
"quantity_of_logs": 7,
"config_version": 17.2,
"database_version": 2.0,
"video_filename_extension": "mp4",
"audio_language": false,
"proxy": "http://127.0.0.1:7890",
"use_dashboard": true,
"dashboard": {
"host": "127.0.0.1",
"port": 5000,
"SSL": false,
"BasicAuth": false,
"username": "admin",
"password": "admin"
},
"ads_time": 29,
"danmu": false,
"use_mobile_api": false,
"mobile_ads_time": 3,
"telebot_notify": false,
"telebot_token": "",
"only_use_vip": false,
"discord_notify": true,
"discord_token": "",
"plex_refresh": false,
"plex_url": "",
"plex_token": "",
"plex_section": "",
"danmu_ban_words": [],
"classify_season": false,
"plex_naming": false,
"no_proxy_akamai": false,
"download_cd": 60,
"parse_sn_cd": 1
}

錯誤截圖

image

log file
2024-09-25.log

問題描述

PS:此為有開啟手機端解析
2024-09-25 00:17:27 下載異常: sn=40027 發生未知錯誤: Expecting value: line 1 column 1 (char 0)

錯誤截圖

image

log file
2024-09-25.log

@miyouzi
Copy link
Owner

miyouzi commented Sep 24, 2024

https://ani.gamer.com.tw/animeVideo.php?sn=31406

報錯的sn可以手動用瀏覽器去看下,動畫到期下架了

@yumeinori
Copy link
Author

https://ani.gamer.com.tw/animeVideo.php?sn=31406

報錯的sn可以手動用瀏覽器去看下,動畫到期下架了

我這邊點這網址是可以看的
上面貼的只有部分番劇
本季正在播的也沒辦法下載
Screenshot_20240925-072401~2

@miyouzi
Copy link
Owner

miyouzi commented Sep 25, 2024

"check_frequency": 1 你的檢查更新時間配置為 1 分鐘一次,是不是太頻繁被ban了,你的瀏覽器觀看正常嗎?

嘗試一下:UA改成你現在用的瀏覽器UA,cookie重新抓一下,檢查更新時間拉長到一小時(check_frequency設為60),失效或者不用更新的番劇sn从 sn_list 文件中刪除或者註釋掉

@yumeinori
Copy link
Author

"check_frequency": 1 你的檢查更新時間配置為 1 分鐘一次,是不是太頻繁被ban了,你的瀏覽器觀看正常嗎?

嘗試一下:UA改成你現在用的瀏覽器UA,cookie重新抓一下,檢查更新時間拉長到一小時(check_frequency設為60),失效或者不用更新的番劇sn从 sn_list 文件中刪除或者註釋掉

瀏覽器觀看是正常的
cookie跟UA這個我晚上回去再試一下

@yumeinori
Copy link
Author

"check_frequency": 1 你的檢查更新時間配置為 1 分鐘一次,是不是太頻繁被ban了,你的瀏覽器觀看正常嗎?

嘗試一下:UA改成你現在用的瀏覽器UA,cookie重新抓一下,檢查更新時間拉長到一小時(check_frequency設為60),失效或者不用更新的番劇sn从 sn_list 文件中刪除或者註釋掉

試過 sn_list 只留下這季的新番、更新 cookie 與 UA 後還是一樣的情況
但如果我開啟手機端解析可以正常掃 SN 但依然不能下載
在最初的問題那邊有留過 LOG

錯誤截圖

image

log file
2024-09-25.log

@miyouzi
Copy link
Owner

miyouzi commented Sep 25, 2024

麻煩把更新后的配置文件再發一下

@yumeinori
Copy link
Author

麻煩把更新后的配置文件再發一下

{
"bangumi_dir": "D:\動畫待補\新番\Ani",
"temp_dir": "",
"classify_bangumi": true,
"check_frequency": 60,
"download_resolution": "1080",
"lock_resolution": true,
"default_download_mode": "latest",
"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": "mp4",
"zerofill": 1,
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36",
"use_proxy": 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": {
"query": [
"http://127.0.0.1:5700/send_group_msg?group_id=123456789"
],
"message_suffix": "追加的資訊",
"msg_argument_name": "message"
},
"faststart_movflags": false,
"check_latest_version": true,
"read_sn_list_when_checking_update": true,
"read_config_when_checking_update": true,
"save_logs": true,
"quantity_of_logs": 7,
"config_version": 17.2,
"database_version": 2.0,
"video_filename_extension": "mp4",
"audio_language": false,
"proxy": "http://127.0.0.1:7890",
"use_dashboard": true,
"dashboard": {
"host": "127.0.0.1",
"port": 5000,
"SSL": false,
"BasicAuth": false,
"username": "admin",
"password": "admin"
},
"ads_time": 29,
"danmu": false,
"use_mobile_api": false,
"mobile_ads_time": 3,
"telebot_notify": false,
"telebot_token": "",
"only_use_vip": false,
"discord_notify": true,
"discord_token": "",
"plex_refresh": false,
"plex_url": "",
"plex_token": "",
"plex_section": "",
"danmu_ban_words": [],
"classify_season": false,
"plex_naming": false,
"no_proxy_akamai": false,
"download_cd": 60,
"parse_sn_cd": 1
}

麻煩你了

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

2 participants