Commit 235ef0469ba38ab97c8a92824fa52273e309ee2f

Authored by Imanol-Mikel Barba Sabariego
1 parent 704a554a

--no commit message

src/com/upc/pbe/upcnews/HTMLParser.java
... ... @@ -25,12 +25,12 @@ public class HTMLParser {
25 25 return directoris;
26 26 }
27 27  
28   - public String findvideo(String name, String code){
  28 + public String findvideo(String name, String code, String direccio){
29 29 name = name+".m3u8";
30 30 String[] split = code.split("\n");
31 31 for(int i = 0; i< split.length; i++){
32 32 if(split[i].contains(name)){
33   -
  33 + return direccio+name+"/";
34 34 }
35 35 }
36 36 return null;
... ...