Skip to content

Commit

Permalink
cf: allow download page to be provided as page URL (#360)
Browse files Browse the repository at this point in the history
  • Loading branch information
itzg authored Dec 3, 2023
1 parent c09aef8 commit 0a48f7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ static class Listed {
String missingModsFilename;

private static final Pattern PAGE_URL_PATTERN = Pattern.compile(
"https://(www|beta)\\.curseforge\\.com/minecraft/modpacks/(?<slug>.+?)(/files(/(?<fileId>\\d+)?)?)?");
"https://(www|beta)\\.curseforge\\.com/minecraft/modpacks/(?<slug>.+?)(/(files|download)(/(?<fileId>\\d+)?)?)?");

@Override
public Integer call() throws Exception {
Expand Down

0 comments on commit 0a48f7e

Please sign in to comment.