|
|
|
@ -113,7 +113,9 @@ do_query( Handler::Type type, const QString& url, const QString& selector )
|
|
|
|
|
return RegionZonePair();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return interface->processReply( CalamaresUtils::Network::Manager::instance().synchronousGet( url ) );
|
|
|
|
|
using namespace CalamaresUtils::Network;
|
|
|
|
|
return interface->processReply(
|
|
|
|
|
CalamaresUtils::Network::Manager::instance().synchronousGet( url, { RequestOptions::FakeUserAgent } ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
static QString
|
|
|
|
@ -125,7 +127,9 @@ do_raw_query( Handler::Type type, const QString& url, const QString& selector )
|
|
|
|
|
return QString();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
return interface->rawReply( CalamaresUtils::Network::Manager::instance().synchronousGet( url ) );
|
|
|
|
|
using namespace CalamaresUtils::Network;
|
|
|
|
|
return interface->rawReply(
|
|
|
|
|
CalamaresUtils::Network::Manager::instance().synchronousGet( url, { RequestOptions::FakeUserAgent } ) );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
RegionZonePair
|
|
|
|
|