Skip to content

Commit

Permalink
Workaround: ARD: Vorab-Folgen von Serien nicht verfügbar
Browse files Browse the repository at this point in the history
  • Loading branch information
alex1702 committed Sep 5, 2024
2 parents 42e61e3 + abb3dc2 commit 6e0c809
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
group = 'de.mediathekview'
archivesBaseName = "MServer"
version = '3.1.237'
version = '3.1.238'

def jarName = 'MServer.jar'
def mainClass = 'mServer.Main'
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/mServer/crawler/sender/ard/ArdCrawler.java
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ private Set<ArdFilmInfoDto> getTopicsEntries() throws ExecutionException, Interr
// temporary workaround for missing topics
private void addAdditionalTopics(Set<CrawlerUrlDTO> topics) {
for (String topicId : MISSING_TOPIC_IDS) {
topics.add(new CrawlerUrlDTO(String.format(ArdConstants.TOPICS_URL, topicId, ArdConstants.TOPIC_PAGE_SIZE)));
topics.add(new CrawlerUrlDTO(String.format(ArdConstants.TOPIC_URL, topicId, ArdConstants.TOPIC_PAGE_SIZE)));
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@ public class ArdTopicPageTask extends ArdTaskBase<ArdFilmInfoDto, CrawlerUrlDTO>
// Rentnercops
TOPICS_LOAD_ALL_PAGES.add("Y3JpZDovL2Rhc2Vyc3RlLmRlL3JlbnRuZXJjb3Bz");
TOPICS_LOAD_ALL_PAGES.add("Y3JpZDovL3dkci5kZS9yZW50bmVyY29wcw");
// alles klara
TOPICS_LOAD_ALL_PAGES.add("Y3JpZDovL21kci5kZS9zZW5kZXJlaWhlbi9zdGFmZmVsc2VyaWUtYWxsZXMta2xhcmE");
}

public ArdTopicPageTask(MediathekReader aCrawler,
Expand Down

0 comments on commit 6e0c809

Please sign in to comment.