Skip to content

Commit

Permalink
Fix gallery metadata parse
Browse files Browse the repository at this point in the history
  • Loading branch information
james58899 committed Jun 9, 2024
1 parent 4699040 commit b651fd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gallery_downloader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit b651fd7

Please sign in to comment.