Skip to content

DLSiteHelper的本地Server,用于提供数据库交护与下载

Notifications You must be signed in to change notification settings

xyzkljl1/DLSiteHelperServer

Repository files navigation

DLSiteHelperServer

DLSiteHelper的本地Server,需要使用本地的mysql数据库
用于提供插件和数据库的交互、同步已下载商品列表、批量下载解压、批量重命名
支持64位Windows

Server side for DLSiteHelper.Provides database operation、batch downloading、batch renaming.
Only support Windows x64

Build and Run

安装Qt6.7.0、VS2022、mysql server(>=8.0)
将openssl/cpr/mysql的dll(在库里)以及Qt的dll(自行安装)加入环境路径或拷贝到运行目录
在本地指定端口(默认4321)运行mysql服务端,使用build_database.sql创建数据库
于本地指定端口(默认8000)运行代理
在Chrome上登录DLSite并运行DLSiteHelper插件
于config.json配置下载/存储目录和端口(参考config.json.example)
确保程序要使用的端口(默认4567/4319)空闲

Install Qt6.7.0、VS2017、mysql server(>=8.0)
Copy dll files in openssl/cpr/mysql directory and Qt installation dir to work directory
Run mysql server in local port(4321 by default)
(When neccessary)Run proxy in local port(8000 by default)
Run DLSiteHelper in chrome And login into DLSite
Config directory in config.json Make sure other local port(4567/4319 by default) is available

Reference

Other

1.在aria2/aria2.conf里设置file-allocation=falloc时需以管理员权限运行以获得最佳性能(实际没多大区别)

2.浏览DLSite时部分请求过慢导致网页一直转圈圈无法触发DLSiteHelper的注入脚本:
目前不知道怎么屏蔽垃圾域名,暂定用改host和代理的方式缓解
在host里添加(垃圾请求):
35.227.248.159 pixel.tapad.com
35.211.114.141 x.bidswitch.net
35.244.245.222 idsync.rlcdn.com
50.116.194.21 r.turn.com
用SwitchyOmega设置代理规则:
file.chobit.cc 走直连(下载试听)
idsync.rlcdn.com 走专用代理(垃圾请求)
其它请求走岛风Go

3.有时下载出现403: 疑似是cookie问题,在chrome中下载任意作品(无需下载完成)后再次尝试

TODO

修复有时页面加载完,但插件没有去除已阅作品的bug
修复购物车页面和添加至购物车的弹出窗口下方的列表未去除已阅作品的bug
修复偶尔出现403的问题

About

DLSiteHelper的本地Server,用于提供数据库交护与下载

Resources

Stars

Watchers

Forks

Packages

No packages published