Commit 704a554a5e622175d3cbade0e4fcd09f061779ef

Authored by Imanol-Mikel Barba Sabariego
1 parent 3c3f542d

--no commit message

src/com/upc/pbe/upcnews/HTMLParser.java
@@ -28,7 +28,7 @@ public class HTMLParser { @@ -28,7 +28,7 @@ public class HTMLParser {
28 public String findvideo(String name, String code){ 28 public String findvideo(String name, String code){
29 name = name+".m3u8"; 29 name = name+".m3u8";
30 String[] split = code.split("\n"); 30 String[] split = code.split("\n");
31 - for(int i = 0; i< split.lenght; i++){ 31 + for(int i = 0; i< split.length; i++){
32 if(split[i].contains(name)){ 32 if(split[i].contains(name)){
33 33
34 } 34 }