*Plugins: Fixes/Changes/Maintenance*

- PastehillCom: fixed pattern

git-svn-id: svn://svn.jdownloader.org/jdownloader/trunk@48203 ebf7c1c2-ba36-0410-9fe8-c592906822b4

Former-commit-id: 96a9cc11de5e02051d9c69e12ed8e5b143ad09ad
This commit is contained in:
psp 2023-08-23 14:52:41 +00:00
parent 887ce19b20
commit 57550ee37e

View File

@ -72,7 +72,7 @@ public class PastehillCom extends AbstractPastebinCrawler {
public static String[] buildAnnotationUrls(final List<String[]> pluginDomains) {
final List<String> ret = new ArrayList<String>();
for (final String[] domains : pluginDomains) {
ret.add("https?://(?:www\\.)?" + buildHostsPatternPart(domains) + "/(?:download|embed/)?([a-z0-9]+)");
ret.add("https?://(?:www\\.)?" + buildHostsPatternPart(domains) + "/(?:(?:download|embed)/)?([a-z0-9]+)");
}
return ret.toArray(new String[0]);
}