Dont use https for context view searches.
This commit is contained in:
committed by
craig.p.drummond
parent
056e83c877
commit
869484fce7
@@ -8,6 +8,7 @@
|
||||
will be saved here.
|
||||
4. Fix reading of genres from cache file.
|
||||
5. Fix updating of genres after DB is refreshed.
|
||||
6. Dont use https for context view searches.
|
||||
|
||||
1.1.0
|
||||
-----
|
||||
|
||||
@@ -69,7 +69,7 @@ QString LastFmEngine::translateLinks(QString text) const
|
||||
void LastFmEngine::search(const QStringList &query, Mode mode)
|
||||
{
|
||||
QStringList fixedQuery=fixQuery(query);
|
||||
QUrl url("https://ws.audioscrobbler.com/2.0/");
|
||||
QUrl url("http://ws.audioscrobbler.com/2.0/");
|
||||
#if QT_VERSION < 0x050000
|
||||
QUrl &urlQuery=url;
|
||||
#else
|
||||
|
||||
@@ -314,7 +314,7 @@ void WikipediaEngine::search(const QStringList &query, Mode mode)
|
||||
void WikipediaEngine::requestTitles(const QStringList &query, Mode mode, const QString &lang)
|
||||
{
|
||||
cancel();
|
||||
QUrl url("https://"+lang+".wikipedia.org/w/api.php");
|
||||
QUrl url("http://"+lang+".wikipedia.org/w/api.php");
|
||||
#if QT_VERSION < 0x050000
|
||||
QUrl &q=url;
|
||||
#else
|
||||
@@ -512,7 +512,7 @@ void WikipediaEngine::getPage(const QStringList &query, Mode mode, const QString
|
||||
}
|
||||
|
||||
QUrl url;
|
||||
url.setScheme(QLatin1String("https"));
|
||||
url.setScheme(QLatin1String("http"));
|
||||
url.setHost(lang+".wikipedia.org");
|
||||
url.setPath("/wiki/Special:Export/"+title);
|
||||
job=NetworkAccessManager::self()->get(url);
|
||||
|
||||
@@ -162,7 +162,7 @@ void WikipediaSettings::getLangs()
|
||||
selected->clear();
|
||||
reload->setEnabled(false);
|
||||
cancel();
|
||||
QUrl url("https://en.wikipedia.org/w/api.php");
|
||||
QUrl url("http://en.wikipedia.org/w/api.php");
|
||||
#if QT_VERSION < 0x050000
|
||||
QUrl &q=url;
|
||||
#else
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
const QLatin1String SoundCloudService::constName("SoundCloud");
|
||||
static const QString constApiKey=QLatin1String("0cb23dce473528973ce74815bd36a334");
|
||||
static const QString constHost=QLatin1String("api.soundcloud.com");
|
||||
static const QString constUrl=QLatin1String("https://")+constHost+QLatin1Char('/');
|
||||
static const QString constUrl=QLatin1String("http://")+constHost+QLatin1Char('/');
|
||||
|
||||
SoundCloudService::SoundCloudService(MusicModel *m)
|
||||
: OnlineService(m, constName)
|
||||
|
||||
Reference in New Issue
Block a user