/[projects]/miscJava/SpejdernetScraper/src/dk/thoerup/spejdernetscraper/IMDBSeriesScraper.java
ViewVC logotype

Diff of /miscJava/SpejdernetScraper/src/dk/thoerup/spejdernetscraper/IMDBSeriesScraper.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 2118 by torben, Thu Nov 7 08:14:34 2013 UTC revision 2119 by torben, Tue Feb 11 20:42:35 2014 UTC
# Line 32  public class IMDBSeriesScraper { Line 32  public class IMDBSeriesScraper {
32                          String content = anchor.text().trim();                          String content = anchor.text().trim();
33                                                    
34                          if ( content.endsWith(epMatch)) {                          if ( content.endsWith(epMatch)) {
35                                  if (title.equalsIgnoreCase(noTitle))                                  if (title.equalsIgnoreCase(noTitle)) {
36                                          throw new Exception("Episode found without title");                                                              return "!Title not found!";                    
37                                    }
38                                                                    
39                                  return title;                                    return title;  
40                          }                                                }                      

Legend:
Removed from v.2118  
changed lines
  Added in v.2119

  ViewVC Help
Powered by ViewVC 1.1.20