mirror of
https://github.com/xiaoyifang/goldendict-ng.git
synced 2024-11-27 23:34:06 +00:00
Merge pull request #886 from sikmir/forvo-order-rate-desc
Forvo: order pronunciations by rate, high rated first
This commit is contained in:
commit
9f617425c8
9
forvo.cc
9
forvo.cc
|
@ -168,8 +168,13 @@ void ForvoArticleRequest::addQuery( QNetworkAccessManager & mgr,
|
|||
key = apiKey;
|
||||
|
||||
QUrl reqUrl = QUrl::fromEncoded(
|
||||
QString( "http://apifree.forvo.com/key/" + key + "/format/xml/action/word-pronunciations/word/" +
|
||||
QString::fromLatin1( QUrl::toPercentEncoding( gd::toQString( str ) ) ) + "/language/" + languageCode
|
||||
QString( "http://apifree.forvo.com"
|
||||
"/key/" + key +
|
||||
"/action/word-pronunciations"
|
||||
"/format/xml"
|
||||
"/word/" + QLatin1String( QUrl::toPercentEncoding( gd::toQString( str ) ) ) +
|
||||
"/language/" + languageCode +
|
||||
"/order/rate-desc"
|
||||
).toUtf8() );
|
||||
|
||||
// DPRINTF( "req: %s\n", reqUrl.toEncoded().data() );
|
||||
|
|
Loading…
Reference in a new issue