diff --git a/src/com/upc/pbe/upcnews/HTMLParser.java b/src/com/upc/pbe/upcnews/HTMLParser.java
index c91a786..41dc815 100644
--- a/src/com/upc/pbe/upcnews/HTMLParser.java
+++ b/src/com/upc/pbe/upcnews/HTMLParser.java
@@ -28,7 +28,7 @@ public class HTMLParser {
public String findvideo(String name, String code){
name = name+".m3u8";
String[] split = code.split("\n");
- for(int i = 0; i< split.lenght; i++){
+ for(int i = 0; i< split.length; i++){
if(split[i].contains(name)){
}