From 09d8b9895c7001f991d2aab7a75e8b573edb086f Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 2 Nov 2021 10:51:02 +0100 Subject: Remove 'latest chapter' for mangadex because its for any language --- src/plugins/Mangadex.cpp | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'src') diff --git a/src/plugins/Mangadex.cpp b/src/plugins/Mangadex.cpp index 3632ed5..848471f 100644 --- a/src/plugins/Mangadex.cpp +++ b/src/plugins/Mangadex.cpp @@ -180,23 +180,6 @@ namespace QuickMedia { description += "Status: " + status_json.asString(); } - /* Commented out because its broken on mangadex. TODO: Uncomment when mangadex fixes this - const Json::Value &updated_at_json = attributes_json["updatedAt"]; - if(updated_at_json.isString()) { - if(!description.empty()) - description += '\n'; - const time_t unix_time = iso_utc_to_unix_time(updated_at_json.asCString()); - description += "Updated: " + unix_time_to_local_time_str(unix_time); - } - */ - - const Json::Value &last_chapter_json = attributes_json["lastChapter"]; - if(last_chapter_json.isString()) { - if(!description.empty()) - description += '\n'; - description += "Last chapter: " + last_chapter_json.asString(); - } - const Json::Value &description_json = attributes_json["description"]; if(description_json.isObject()) { const Json::Value &en_json = description_json["en"]; -- cgit v1.2.3