Merge branch 'master' into QJson_Experiments
[buliscores] / src / src / backendkicker.cpp
index ad16b60..fb7acd6 100644 (file)
@@ -240,7 +240,9 @@ bool BackendKicker::selectLeague(QString league)
     if (league == "1. Bundesliga") {
         m_URL = "http://www.kicker.de/news/fussball/bundesliga/spieltag/1-bundesliga/2010-11/spieltag.html";
     } else if (league == "2. Bundesliga") {
-        m_URL = "http://www.kicker.de/news/fussball/bundesliga/spieltag/2-bundesliga/2010-11/spieltag.html";
+        m_URL = "http://www.kicker.de/news/fussball/bundesliga/spieltag/2-bundesliga/2010-11/spieltag.html"; 
+    } else if (league == "3. Liga") {
+        m_URL = "http://www.kicker.de/news/fussball/3liga/spieltag/3-liga/2010-11/spieltag.html";
     } else if (league == "tipp3 Bundesliga") {
         m_URL = "http://www.kicker.de/news/fussball/intligen/oesterreich/tipp3-bundesliga/2010-11/spieltag.html";
     } else {
@@ -277,9 +279,9 @@ void BackendKicker::dlndFinished(QNetworkReply *reply)
 
     secstonextupdate = secsToNextGame();
     if ((secstonextupdate == -1) ||
-        (secstonextupdate > 6 * 3600)) {
+        (secstonextupdate > 8 * 3600)) {
         // all games finished for this matchday
-        secstonextupdate = 6 * 3600;
+        secstonextupdate = 8 * 3600;
     } else if (secstonextupdate < INTERVAL_FAST) {
         secstonextupdate = INTERVAL_FAST;
     }