Skip to content

Commit

Permalink
more deep search topics
Browse files Browse the repository at this point in the history
  • Loading branch information
pidoubleyou committed Jul 17, 2024
1 parent 73be726 commit f207d59
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import com.google.gson.reflect.TypeToken;
import de.mediathekview.mlib.Config;
import de.mediathekview.mlib.tool.Log;
import jakarta.ws.rs.client.WebTarget;
import mServer.crawler.sender.MediathekReader;
import mServer.crawler.sender.ard.ArdFilmInfoDto;
Expand Down Expand Up @@ -84,6 +85,10 @@ public class ArdTopicPageTask extends ArdTaskBase<ArdFilmInfoDto, CrawlerUrlDTO>
TOPICS_LOAD_ALL_PAGES.add("Y3JpZDovL3dkci5kZS9vbmUvcm90ZXJvc2Vu");
// Heimatflimmern
TOPICS_LOAD_ALL_PAGES.add("Y3JpZDovL3dkci5kZS9oZWltYXRmbGltbWVybg");
// Euro 2024
TOPICS_LOAD_ALL_PAGES.add("Y3JpZDovL3Nwb3J0c2NoYXUuZGUvc3BvcnRzY2hhdS1ldXJvLTIwMjQ");
// ard debüt
TOPICS_LOAD_ALL_PAGES.add("Y3JpZDovL2Rhc2Vyc3RlLmRlL2FyZGRlYnVldA");
}

public ArdTopicPageTask(MediathekReader aCrawler,
Expand Down Expand Up @@ -147,6 +152,7 @@ private ConcurrentLinkedQueue<CrawlerUrlDTO> createSubPageUrls(

private int getMaximumSubpages(String id) {
if (TOPICS_LOAD_ALL_PAGES.contains(id)) {
Log.sysLog("ARD search all: " + id);
return 999;
}
return 0;
Expand Down

0 comments on commit f207d59

Please sign in to comment.