diff --git a/CHANGELOG.md b/CHANGELOG.md index e7917223..e011aafa 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,11 @@ Version counting is based on semantic versioning (Major.Feature.Patch) +## 9.16.1 + +### YACReaderLibrary +* Fix cover loading in Comic Vine scraper. + ## 9.16.0 ### YACReader diff --git a/common/http_worker.cpp b/common/http_worker.cpp index 805b4a92..5e525503 100644 --- a/common/http_worker.cpp +++ b/common/http_worker.cpp @@ -46,7 +46,13 @@ void HttpWorker::run() tT.setSingleShot(true); connect(&tT, &QTimer::timeout, &q, &QEventLoop::quit); connect(&manager, &QNetworkAccessManager::finished, &q, &QEventLoop::quit); - QNetworkReply *reply = manager.get(QNetworkRequest(url)); + + auto request = QNetworkRequest(url); + + request.setHeader(QNetworkRequest::UserAgentHeader, + "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 Chrome/122.0 Safari/537.36"); + + QNetworkReply *reply = manager.get(request); tT.start(5000); // 5s timeout q.exec(); diff --git a/common/yacreader_global.h b/common/yacreader_global.h index 57828611..392948ca 100644 --- a/common/yacreader_global.h +++ b/common/yacreader_global.h @@ -9,7 +9,7 @@ class QLibrary; -#define VERSION "9.16.0" +#define VERSION "9.16.1" // Used to check if the database needs to be updated, the version is stored in the database. // This value is only incremented when the database structure changes. diff --git a/custom_widgets/whats_new_dialog.cpp b/custom_widgets/whats_new_dialog.cpp index e1a5c00f..f90c50e5 100644 --- a/custom_widgets/whats_new_dialog.cpp +++ b/custom_widgets/whats_new_dialog.cpp @@ -67,6 +67,7 @@ YACReader::WhatsNewDialog::WhatsNewDialog(QWidget *parent) " • Covers can be set in bulk for various comics at once
" " • New button to reset to the default cover of a comic
" " • Support for storing the new image filters from iOS and Android apps
" + " • Fixed cover loading in Comic Vine scraper (new in 9.16.1)
" "
" "YACReaderLibraryServer
" " • Log libraries validation when the app starts
"