diff options
Diffstat (limited to 'source/de/anomic/data/SitemapParser.java')
| -rw-r--r-- | source/de/anomic/data/SitemapParser.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/de/anomic/data/SitemapParser.java b/source/de/anomic/data/SitemapParser.java index d42e77e3e..0d323fa1b 100644 --- a/source/de/anomic/data/SitemapParser.java +++ b/source/de/anomic/data/SitemapParser.java @@ -160,7 +160,7 @@ public class SitemapParser extends DefaultHandler { if (theCrawlingProfile == null) { // create a new profile - this.crawlingProfile = createProfile(this.siteMapURL.getHost(),this.siteMapURL.toString()); + this.crawlingProfile = createProfile(this.siteMapURL.getHost(), this.siteMapURL); } else { // use an existing profile this.crawlingProfile = theCrawlingProfile; @@ -348,8 +348,8 @@ public class SitemapParser extends DefaultHandler { } } - private plasmaCrawlProfile.entry createProfile(String domainName, String sitemapURL) { - return this.switchboard.profiles.newEntry( + private plasmaCrawlProfile.entry createProfile(String domainName, yacyURL sitemapURL) { + return this.switchboard.profilesActiveCrawls.newEntry( domainName, sitemapURL, // crawlingFilter |
