projects
/
movie-schedule
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Minor fix for another change in Google's movie pages and a fix in
[movie-schedule]
/
src
/
searchclients
/
moviesearchclient.cpp
diff --git
a/src/searchclients/moviesearchclient.cpp
b/src/searchclients/moviesearchclient.cpp
index
ec642ec
..
dd44a6a
100644
(file)
--- a/
src/searchclients/moviesearchclient.cpp
+++ b/
src/searchclients/moviesearchclient.cpp
@@
-107,7
+107,7
@@
void MovieSearchClient::ReplyFinished(QNetworkReply *reply)
}
} else if (state == PARSE_EXPECT_DIV2 && xml.name() == "div") {
state = PARSE_DIV2;
}
} else if (state == PARSE_EXPECT_DIV2 && xml.name() == "div") {
state = PARSE_DIV2;
- } else if (state == PARSE_DIV2 && xml.name() == "span" && attr_class.isEmpty()) {
+ } else if (state == PARSE_DIV2 && xml.name() == "span") {
movie_spans.append("");
state = PARSE_SPAN;
} else if (state == PARSE_DIV2 && xml.name() == "img") {
movie_spans.append("");
state = PARSE_SPAN;
} else if (state == PARSE_DIV2 && xml.name() == "img") {