Skip to content

Commit

Permalink
Fix the Orphanet link extractor.
Browse files Browse the repository at this point in the history
It seems the Orphanet website no longer serves resources of the form
`/consor/www/cgi-bin/OC_Exp.php`, only `/consor/cgi-bin/OC_Exp.php`, so
we update the link extractor accordingly.

closes #1192
  • Loading branch information
gouttegd committed Feb 22, 2024
1 parent d8826be commit f7881e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class OrphanetLinkExtractor {

public static final Pattern ORPHANET_ID_PATTERN = Pattern.compile("Orphanet:\\s*(\\d+)", Pattern.CASE_INSENSITIVE);

public static final String ORPHANET_URL_BASE = "https://www.orpha.net/consor/www/cgi-bin/OC_Exp.php?Expert=";
public static final String ORPHANET_URL_BASE = "https://www.orpha.net/consor/cgi-bin/OC_Exp.php?Expert=";

public static final String replacementString = ORPHANET_URL_BASE + "$1";

Expand Down

0 comments on commit f7881e1

Please sign in to comment.