Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- html = responseBody;
- video = "";
- imagina = "";
- desc = "";
- video = reg.getBack(html, "property="og:video" content="([^"]+)"");
- imagina = reg.getBack(html, "property="og:image" content="([^"]+)"");
- try {
- int start = html.indexOf(""caption":") + 12;
- String starting = html.substring(start);
- int end = starting.indexOf(""");
- desc = starting.substring(0, end).replace("\n", "");
- }catch (Exception e){
- desc="";
- }
- mDialog();
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement