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

Commit

Permalink
Merge pull request #61 from bbscool/upstream-master
Browse files Browse the repository at this point in the history
修正因百度盘首页结构变化导致检测登录卡死的问题 (Issue #60)
  • Loading branch information
GangZhuo authored Jun 14, 2016
2 parents 63bb691 + 7009cf9 commit c59187f
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 c59187f

Please sign in to comment.