diff options
author | Robert Pösel <robyer@seznam.cz> | 2014-11-15 08:57:23 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2014-11-15 08:57:23 +0000 |
commit | 3d53855c7efaa987b171575cabf194cc56711bcf (patch) | |
tree | e5a3d410b4a90e9bd68d4ec1b3794cdd9ab486ae /protocols/FacebookRM | |
parent | 602b5649c01971b1289b63690bd66743f3f9387c (diff) |
Facebook: fix searching by id/login
git-svn-id: http://svn.miranda-ng.org/main/trunk@10991 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/FacebookRM')
-rw-r--r-- | protocols/FacebookRM/src/process.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/FacebookRM/src/process.cpp b/protocols/FacebookRM/src/process.cpp index a2934dd1b3..4770f61323 100644 --- a/protocols/FacebookRM/src/process.cpp +++ b/protocols/FacebookRM/src/process.cpp @@ -1248,12 +1248,12 @@ void FacebookProto::SearchIdAckThread(void *targ) if (resp.code == HTTP_CODE_OK) { - std::string about = utils::text::source_get_value(&resp.data, 2, "<div id=\"root\"", "id=\"footer\""); + std::string about = utils::text::source_get_value(&resp.data, 2, "<div id=\"root\"", "</body>"); std::string id = utils::text::source_get_value2(&about, ";id=", "&\""); if (id.empty()) id = utils::text::source_get_value2(&about, "?bid=", "&\""); - std::string name = utils::text::source_get_value(&about, 3, "class=\"profileName", ">", "</"); + std::string name = utils::text::source_get_value(&about, 3, "<strong", ">", "</strong"); std::string surname; std::string::size_type pos; |