diff --git a/pixivmodels.cpp b/pixivmodels.cpp index 890daf3..5e9eab1 100644 --- a/pixivmodels.cpp +++ b/pixivmodels.cpp @@ -140,7 +140,7 @@ static inline std::optional get_1920x960_cover_image(blankie::murl: return url.to_string(); } -static std::regex thumbnail_path_regex("/c/[^/]+/(.+)_master\\d+(\\.\\w{3,4})?"); +static std::regex thumbnail_path_regex("/c/[^/]+(/.+)_master\\d+(\\.\\w{3,4})?"); static inline std::optional get_original_cover_image(blankie::murl::Url url) { std::smatch sm; if (!std::regex_match(url.path, sm, thumbnail_path_regex)) {