Minor fix for another change in Google's movie pages and a fix in
[movie-schedule] / src / searchclients / moviesearchclient.cpp
index ec642ec..dd44a6a 100644 (file)
@@ -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") {