Parent Directory | Revision Log | Patch
revision 2068 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 | } | } |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |