Skip to content

Commit

Permalink
Merge branch 'hotfix/3.1.2'
Browse files Browse the repository at this point in the history
fixed: DW: Datum wird nicht ausgelesen

closed #172
  • Loading branch information
alex1702 committed May 19, 2017
2 parents 925b28e + 8373d5d commit d5a9e7a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apply from: "${project.rootDir}/gradle/eclipse.gradle"
sourceCompatibility = 1.8
targetCompatibility = 1.8
group = 'de.mediathekview'
version = '3.1.1'
version = '3.1.2'

def jarName = 'MServer.jar'
def mainClass = 'mServer.Main'
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/mServer/crawler/sender/MediathekDw.java
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ private void laden2(String urlThema, String thema, String titel, String urlSendu
listUrl.clear();

String description = seite2.extract("<meta name=\"description\" content=\"", "\"");
String datum = seite2.extract("| DW.COM | ", "\"");
String datum = seite2.extract("<strong>Datum</strong>", "</li>").trim();
String dur = seite2.extract("<strong>Dauer</strong>", "Min.").trim();
dur = dur.replace("\n", "");
dur = dur.replace("\r", "");
Expand Down

0 comments on commit d5a9e7a

Please sign in to comment.