Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

修正因百度盘首页结构变化导致检测登录卡死的问题 (Issue #60) #61

Merged
merged 1 commit into from
Jun 14, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions pcs/pcs.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,13 @@ static char *pcs_get_yunData(const char *html, const char *key)
if (*p == key[0] && pcs_utils_streq(p, key, i)) {
tmp = p + i;
PCS_SKIP_SPACE(tmp);
//if (*tmp != '(') continue; tmp++;
if (*tmp != '=') continue; tmp++;
if (*tmp != '=') {
p++; continue;
}tmp++;
PCS_SKIP_SPACE(tmp);
if (*tmp != '{') continue;
if (*tmp != '{') {
p++; continue;
}
end = tmp;

while (*end) {
Expand Down