Skip to content

Commit

Permalink
ARD: Fix Ermittlung der Dauer eines Films
Browse files Browse the repository at this point in the history
closed #306
  • Loading branch information
alex1702 committed Dec 13, 2017
2 parents 25644ce + f083225 commit f9cb571
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ apply from: "${project.rootDir}/gradle/eclipse.gradle"
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'de.mediathekview'
version = '3.1.40'
version = '3.1.41'

def jarName = 'MServer.jar'
def mainClass = 'mServer.Main'
Expand Down
1 change: 1 addition & 0 deletions src/main/java/mServer/crawler/sender/MediathekArd.java
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,7 @@ private void addTage() {
titel = seite1.extract("<h4 class=\"headline\">", "<", pos);
dauer = seite1.extract("<p class=\"subtitle\">", "<", pos);
try {
dauer = dauer.split("|")[0];
dauer = dauer.replace("Min.", "").trim();
dauer = dauer.replace("| UT", "").trim();
d = Long.parseLong(dauer) * 60;
Expand Down

0 comments on commit f9cb571

Please sign in to comment.