mirror of
https://github.com/qaiu/netdisk-fast-download.git
synced 2026-11-04 21:00:08 +00:00
fix(qk): enter folder shares and clarify 123 local Authorization (#283)
Quark parse stopped when the share root was only a folder and reported that nothing could be downloaded. Enter subfolders, skip 0-byte placeholders, and for visitors try a smaller file when Quark returns 23018 instead of transferring without a Cookie. 123 download failures now tell users to configure a local auths.ye.authorization. Share listings can be read without login, and hash fragments on 123 URLs are ignored. New URL fixtures use a ref=example query, not a password-shaped parameter. Co-authored-by: Cursor Agent <[email protected]>
This commit is contained in:
@@ -42,6 +42,10 @@ public final class YeShareHostUtil {
|
||||
return "";
|
||||
}
|
||||
String key = shareKey.trim();
|
||||
int hashIndex = key.indexOf('#');
|
||||
if (hashIndex >= 0) {
|
||||
key = key.substring(0, hashIndex);
|
||||
}
|
||||
int queryIndex = key.indexOf('?');
|
||||
if (queryIndex >= 0) {
|
||||
key = key.substring(0, queryIndex);
|
||||
|
||||
Reference in New Issue
Block a user