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