From b651fd7cd10249204e28ea21943bf504811d93a3 Mon Sep 17 00:00:00 2001 From: james58899 Date: Sun, 9 Jun 2024 05:55:47 +0000 Subject: [PATCH] Fix gallery metadata parse --- src/gallery_downloader.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallery_downloader.rs b/src/gallery_downloader.rs index 07ace94..415e6c4 100644 --- a/src/gallery_downloader.rs +++ b/src/gallery_downloader.rs @@ -230,7 +230,7 @@ impl GalleryDownloader { debug!("GalleryDownloader: Parsed filecount={}", filecount); } "MINXRES" => { - if Regex::new(r"^org|\\d+$").unwrap().is_match(split[1]) { + if Regex::new(r"^(?:org|\d+)$").unwrap().is_match(split[1]) { minxres = split[1].to_string(); debug!("GalleryDownloader: Parsed minxres={}", minxres); } else {