mirror of
https://github.com/MarginaliaSearch/MarginaliaSearch.git
synced 2025-02-24 05:18:58 +00:00
Preparation for conversion
This commit is contained in:
parent
ccf79f47b0
commit
26e0cfec3a
@ -52,7 +52,7 @@ public class ConverterMain {
|
|||||||
logger.info("Starting pipe");
|
logger.info("Starting pipe");
|
||||||
|
|
||||||
try (WorkLog processLog = plan.createProcessWorkLog()) {
|
try (WorkLog processLog = plan.createProcessWorkLog()) {
|
||||||
var pipe = new ParallelPipe<CrawledDomain, ProcessingInstructions>("Crawler", 16, 4, 2) {
|
var pipe = new ParallelPipe<CrawledDomain, ProcessingInstructions>("Crawler", 20, 4, 2) {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected ProcessingInstructions onProcess(CrawledDomain domainData) {
|
protected ProcessingInstructions onProcess(CrawledDomain domainData) {
|
||||||
|
@ -26,7 +26,6 @@ public class InstructionsCompiler {
|
|||||||
}
|
}
|
||||||
if (domain.redirect != null) {
|
if (domain.redirect != null) {
|
||||||
compileRedirect(ret, domain.domain, domain.redirect);
|
compileRedirect(ret, domain.domain, domain.redirect);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
{{#if media}}<abbr title="audio or video" class="meta">🎞️</abbr>{{/if}}
|
{{#if media}}<abbr title="audio or video" class="meta">🎞️</abbr>{{/if}}
|
||||||
{{#if affiliate}}<abbr title="possible amazon affiliate link" class="meta">💳️</abbr>{{/if}}
|
{{#if affiliate}}<abbr title="possible amazon affiliate link" class="meta">💳️</abbr>{{/if}}
|
||||||
{{#if cookies}}<abbr title="cookies" class="meta">👁️️</abbr>{{/if}}
|
{{#if cookies}}<abbr title="cookies" class="meta">👁️️</abbr>{{/if}}
|
||||||
{{#if ads}}<abbr title="ads (experimental)" class="meta">⚠️️️</abbr>{{/if}}
|
{{#if ads}}<abbr title="possible annoying ads or popovers (experimental)" class="meta">⚠️️️</abbr>{{/if}}
|
||||||
<span class="meta">{{format}}</span>
|
<span class="meta">{{format}}</span>
|
||||||
{{#unless focusDomain}}
|
{{#unless focusDomain}}
|
||||||
<span class="rank-symbol" title="{{rankingSymbolDesc}}">{{{rankingSymbol}}}</span>
|
<span class="rank-symbol" title="{{rankingSymbolDesc}}">{{{rankingSymbol}}}</span>
|
||||||
|
Loading…
Reference in New Issue
Block a user