Commit a6be67a4 authored by Friedrich W. H. Kossebau's avatar Friedrich W. H. Kossebau
Browse files

[weather dataengine] Use https in some more places

parent 9bb747d4
......@@ -323,7 +323,7 @@ void UKMETIon::getXMLData(const QString& source)
void UKMETIon::findPlace(const QString& place, const QString& source)
{
/* There's a page= parameter, results are limited to 10 by page */
const QUrl url(QLatin1String("http://www.bbc.com/locator/default/en-GB/search.json?search=")+place+
const QUrl url(QLatin1String("https://www.bbc.com/locator/default/en-GB/search.json?search=")+place+
QLatin1String("&filter=international&postcode_unit=false&postcode_district=true"));
KIO::TransferJob* getJob = KIO::get(url, KIO::Reload, KIO::HideProgressInfo);
......
......@@ -179,7 +179,7 @@ bool NOAAIon::updateIonSource(const QString& source)
// Parses city list and gets the correct city based on ID number
void NOAAIon::getXMLSetup() const
{
const QUrl url(QStringLiteral("http://www.weather.gov/data/current_obs/index.xml"));
const QUrl url(QStringLiteral("https://www.weather.gov/data/current_obs/index.xml"));
KIO::TransferJob* getJob = KIO::get(url, KIO::NoReload, KIO::HideProgressInfo);
......
......@@ -23,8 +23,8 @@
/* Ion for weather data from wetter.com */
// Sample URLs:
// http://api.wetter.com/location/index/search/Heidelberg/project/weatherion/cs/9090dec6e783b96bd6a6ca9d451f3fee
// http://api.wetter.com/forecast/weather/city/DE0004329/project/weatherion/cs/89f1264869cce5c6fd5a2db80051f3d8
// https://api.wetter.com/location/index/search/Heidelberg/project/weatherion/cs/9090dec6e783b96bd6a6ca9d451f3fee
// https://api.wetter.com/forecast/weather/city/DE0004329/project/weatherion/cs/89f1264869cce5c6fd5a2db80051f3d8
#include "ion_wettercom.h"
......
......@@ -31,8 +31,8 @@
// wetter.com API project data
#define PROJECTNAME "weatherion"
#define SEARCH_URL "http://api.wetter.com/location/index/search/%1/project/" PROJECTNAME "/cs/%2"
#define FORECAST_URL "http://api.wetter.com/forecast/weather/city/%1/project/" PROJECTNAME "/cs/%2"
#define SEARCH_URL "https://api.wetter.com/location/index/search/%1/project/" PROJECTNAME "/cs/%2"
#define FORECAST_URL "https://api.wetter.com/forecast/weather/city/%1/project/" PROJECTNAME "/cs/%2"
#define APIKEY "07025b9a22b4febcf8e8ec3e6f1140e8"
#define MIN_POLL_INTERVAL 3600000L // 1 h
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment