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

Commit

Permalink
修正因百度盘首页结构变化导致检测登录卡死的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob-FU committed Jun 14, 2016
1 parent 63bb691 commit 7009cf9
Showing 1 changed file with 6 additions and 3 deletions.
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

0 comments on commit 7009cf9

Please sign in to comment.