Commit c6aa097ecb751c71ffd10f5a41d0d1e152cf5292
1 parent
34063849
--no commit message
Showing
1 changed file
with
1 additions
and
1 deletions
src/com/upc/pbe/upcnews/HTMLParser.java
@@ -30,7 +30,7 @@ public class HTMLParser { | @@ -30,7 +30,7 @@ public class HTMLParser { | ||
30 | for(int i = 0; i < split.length; i++){ | 30 | for(int i = 0; i < split.length; i++){ |
31 | if(split[i].contains(".m3u8") && !split[i].contains("._")){ | 31 | if(split[i].contains(".m3u8") && !split[i].contains("._")){ |
32 | String nomarxiu = split[i].substring((split[i].indexOf("href="))+6, (split[i].indexOf('"',(split[i].indexOf("href="))+6))); | 32 | String nomarxiu = split[i].substring((split[i].indexOf("href="))+6, (split[i].indexOf('"',(split[i].indexOf("href="))+6))); |
33 | - return direccio+nomarxiu+"/"; | 33 | + return direccio+nomarxiu; |
34 | } | 34 | } |
35 | } | 35 | } |
36 | return "No s'ha trobat"; | 36 | return "No s'ha trobat"; |